joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [edi + ebx + 0x306a0]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x45a940
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b0e]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x45a8e4
mov ebx, dword [ebp - 0x208]
jmp 0x45a942
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x45a8a0
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x210], 4
sub ecx, edi
lea esi, [edi + 0x31950]
lea eax, [edi + 0x32910]
mov dword [ebp - 0x208], esi
lea edx, [edi + 0x31d58]
mov dword [ebp - 0x21c], eax
sub ecx, 0x31d50
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ecx
nop
mov eax, dword [edi + 0x32594]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
test eax, eax
je 0x45aa12
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x45a9c0
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x32594]
mov dword [ebp - 0x214], ebx
cmp ebx, eax
jb 0x45a9b2
mov esi, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
mov ecx, 0xe
cmp eax, ecx
jbe 0x45aa36
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32594]
jb 0x45aa20
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x45aa60
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x45a9a0
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3bcf8], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
Function at 0x45c510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx + ecx*4]
movzx ecx, word [edi + 2]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + ecx*4]
add eax, edx
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], esi
cmp esi, dword [ebp + 0x10]
jae 0x45c684
mov edx, esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x45c578
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x18], esi
cmp esi, 8
jb 0x45c560
cmp esi, 0x10
jae 0x45c61d
lea eax, [esi - 8]
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jae 0x45c684
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x45c5d3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, 0x10
jb 0x45c5c3
cmp esi, dword [ebp + 0x10]
jae 0x45c684
lea eax, [esi - 0x10]
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov esi, dword [ebp + 8]
xor edi, edi
or eax, 0x100
nop word [eax + eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x45c640
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jb 0x45c630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45c770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
or ecx, 0x100
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
movzx esi, word [edx + eax*2]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr esi, 4
neg edx
sar edx, 4
and edx, 0x7f
xor esi, edx
add edi, dword [ebx + esi*4]
cmp ecx, 0x10000
jb 0x45c784
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45c7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x45c7d5
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x463a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x463a7d
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop dword [eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x4aea70]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x463a60
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x463b2d
sub ecx, 1
je 0x463b11
sub ecx, 1
je 0x463ae9
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret

Function at 0x464af0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x464afc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00464b10
Function at 0x46c8b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x30], 0
lea esi, [eax + 0x70]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], 0
nop dword [eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x46c8f0
pop esi
pop ebp
ret
Function at 0x4747f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00488143
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x47481b
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x476e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476e87
sub ecx, edx
lea esi, [ebp - 0x20c]
sar ecx, 1
lea esi, [esi + ecx*2]
test edi, edi
je 0x476eab
cmp word [edi], ax
je 0x476eab
push edi
jmp 0x476ec6
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call fcn.00401a80
push eax
lea eax, [ebp - 4]
sub eax, esi
push 0x49e944
sar eax, 1
push eax
push esi
call fcn.00401040
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.00408e80
lea ecx, [ebp - 4]
sub ecx, eax
push str..ini
sar ecx, 1
push ecx
push eax
call fcn.00403240
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004774e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret 4
Function at 0x477210
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
test eax, eax
jne 0x477241
mov eax, 0xe8
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push 0
push 0
push 3
push 0
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x477326
push edi
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
jne 0x47730f
cmp eax, 0x100000
ja 0x47730f
add eax, 2
push eax
call fcn.0047d547
mov edi, eax
add esp, 4
test edi, edi
je 0x4772f8
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jne 0x4772cc
push dword [ebp + 8]
xor eax, eax
mov word [ecx + edi], ax
mov ecx, esi
push dword [ebp - 0xc]
push edi
call fcn.00477340
mov esi, eax
mov eax, dword [ebp - 0xc]
jmp 0x4772d1
mov esi, 0x1e
add eax, 2
push eax
push 0
push edi
call fcn.0047ee20
push edi
call fcn.00457d30
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov esi, 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov esi, 0xb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x477fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00401a80
mov esi, eax
push esi
call fcn.00408e80
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push str._s_s__04u_02u_02u__02u_02u_02u.dmp
push dword [ebp + 0xc]
push edi
call fcn.00401040
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor ecx, ebp
pop edi
pop esi
call fcn.0047d2db
mov esp, ebp
pop ebp
ret

Function at 0x478660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x478490
push 0x10
push esi
mov dword [ebp - 4], 0
mov ebx, 0x716
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4786d3
push edi
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4786d2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4786d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x4786d2
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp + 8]
call fcn.00478860
add esp, 0xc
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xf0
push dword [ebp + 0xc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x478c96
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x478c8e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp word [esi], 0
je 0x478c8e
nop dword [eax + eax]
movzx eax, word [esi + 2]
lea edi, [esi + 8]
cmp eax, 0x401
jne 0x478c55
mov eax, 0x180
jmp 0x478c71
cmp eax, 0x403
jne 0x478c63
mov eax, 0x143
jmp 0x478c71
cmp eax, 0x180
je 0x478c71
cmp eax, 0x143
jne 0x478c80
push edi
push 0
push eax
movzx eax, word [esi]
push eax
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov esi, dword [esi + 4]
add esi, edi
cmp word [esi], 0
jne 0x478c40
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8

Function at 0x479520
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x47957c
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x479574
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc eax
mov edx, 2
add eax, ebx
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d547
mov edi, eax
add esp, 4
test edi, edi
je 0x47956d
lea eax, [ebx + 1]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret 8
pop ebx
xor eax, eax
pop esi
pop ebp
ret 8
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x479650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x100
test eax, eax
jne 0x479688
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x47969c
lea ecx, [ebp - 0x204]
push ecx
push eax
push dword [0x4b3a24]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x2000
call fcn.0047d547
mov edi, eax
add esp, 4
test edi, edi
je 0x4796fd
push esi
lea eax, [ebp - 0x204]
push eax
push 0
push 0
lea eax, [ebp - 0x208]
push eax
push 0x1000
push edi
call fcn.0041d7a0
mov esi, dword [ebp - 0x208]
push edi
sub esi, edi
push ebx
sar esi, 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.00457d30
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47b2e0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0047b560
mov edi, eax
lea eax, [ebp - 0x204]
push 0x80
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x204]
push 0x40
push eax
call fcn.0047e82d
add esp, 8
test eax, eax
je 0x47b387
lea ecx, [ebp - 0x104]
mov esi, str.mailto:
mov eax, ecx
mov edx, 0x80
sub esi, eax
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x47b362
movzx eax, word [esi + ecx]
test ax, ax
je 0x47b362
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x47b344
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x204]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
call fcn.00404f80
lea eax, [ebp - 0x104]
push 7
push dword [0x4aef08]
lea esi, [ebp - 0x204]
sub esi, eax
lea eax, [ebp - 0x204]
push eax
call fcn.004869c4
add esp, 0xc
test eax, eax
jne 0x47b3eb
mov edx, 0x80
lea ecx, [ebp - 0x104]
nop dword [eax + eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x47b3de
movzx eax, word [esi + ecx]
test ax, ax
je 0x47b3de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x47b3c0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 8
push dword [0x4aef0c]
lea eax, [ebp - 0x204]
push eax
call fcn.004869c4
add esp, 0xc
test eax, eax
jne 0x47b43c
mov edx, 0x80
lea ecx, [ebp - 0x104]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x47b42f
movzx eax, word [esi + ecx]
test ax, ax
je 0x47b42f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x47b411
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 4
lea eax, [ebp - 0x204]
push str.www.
push eax
call fcn.004869c4
add esp, 0xc
test eax, eax
jne 0x47b4b3
mov esi, dword [str.http:__]
lea ecx, [ebp - 0x104]
mov eax, ecx
mov edx, 0x80
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x47b48e
movzx eax, word [esi + ecx]
test ax, ax
je 0x47b48e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x47b470
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x204]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
call fcn.00404f80
cmp word [ebp - 0x104], 0
je 0x47b4fc
push edi
mov edi, dword [sym.imp.USER32.dll_SetCursor]
call edi
push 1
push 0
push 0
mov esi, eax
lea eax, [ebp - 0x104]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call edi
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0047d2db
mov esp, ebp
pop ebp
ret 4
Function at 0x47bf70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test ebx, ebx
je 0x47c115
cmp word [ebx], si
je 0x47c115
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bf91
sub ecx, edx
mov edx, 2
sar ecx, 1
push edi
lea eax, [ecx + 5]
xor ecx, ecx
mov dword [ebp - 4], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d547
mov edi, eax
add esp, 4
test edi, edi
jne 0x47bfd2
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push dword [ebp - 4]
push edi
call fcn.00403240
push 4
push 0x4a6c80
push edi
call fcn.004881d4
add esp, 0xc
test eax, eax
jne 0x47bff8
lea eax, [edi + 0xc]
jmp 0x47c081
push 4
push 0x4a6c74
push edi
call fcn.004881d4
add esp, 0xc
test eax, eax
jne 0x47c011
lea eax, [edi + 0xc]
jmp 0x47c081
movzx eax, word [edi]
cmp eax, 0x5c
jne 0x47c03a
cmp word [edi + 2], ax
jne 0x47c03a
push edi
call fcn.0047c410
add esp, 4
test eax, eax
jne 0x47c081
pop edi
pop esi
mov eax, 0x4be
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi + 2], 0x3a
lea ecx, [edi + 2]
jne 0x47c06f
cmp word [edi + 4], 0x5c
jne 0x47c06f
push 0x4a6c80
push dword [ebp - 4]
push edi
call fcn.00403240
mov eax, dword [ebp - 4]
push ebx
add eax, 0xfffffffc
push eax
lea eax, [edi + 8]
push eax
call fcn.00403240
lea eax, [edi + 0xc]
jmp 0x47c081
cmp eax, 0x2e
jne 0x47c07f
push ecx
call fcn.0047c3e0
add esp, 4
jmp 0x47c081
mov eax, edi
add eax, 2
push 0x49f054
push eax
call fcn.0048820e
mov ecx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47c0d6
xor esi, esi
xor eax, eax
push esi
push edi
mov word [ebx], ax
call ecx
test eax, eax
jne 0x47c0bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x47c0cc
xor esi, esi
mov eax, 0x5c
mov word [ebx], ax
lea eax, [ebx + 2]
jmp 0x47c084
test esi, esi
jne 0x47c101
mov ecx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0xc], 0
je 0x47c101
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x47c101
push 0
push edi
call ecx
test eax, eax
jne 0x47c101
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor eax, eax
cmp esi, 0xb7
cmove esi, eax
push edi
call fcn.00457d30
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8