joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
mov esi, ecx
push esi
push 0x433287
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00432b99
test al, al
je 0x43305f
cmp dword [esi + 8], 0
je 0x43305f
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x43300f
mov eax, dword [eax]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 8
jb 0x433024
mov eax, dword [eax]
push eax
push 0x40f
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x433061
xor al, al
pop esi
pop ebp
ret 0x14
Function at 0x433066
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebx + 0x80]
push eax
call fcn.00413b30
push esi
lea ecx, [ebx + 0x98]
call fcn.00413b30
push edi
push ebx
push 0x433287
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00432b99
test al, al
je 0x4331c8
cmp dword [ebx + 8], 0
je 0x4331c8
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
push 0x40b
push dword [ebx + 8]
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 8]
call esi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x38]
push 0x69
pop esi
push 8
mov dword [ebx + 0xc8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebx + 0x14]
mov dword [ebp - 0x24], 0x66
push dword [ebx + 8]
mov dword [ebp - 0x20], 0x68
mov dword [ebp - 0x1c], 0x3ef
mov dword [ebp - 0x18], 0x40a
mov dword [ebp - 0x14], 0x40b
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 0x40d
mov dword [ebp - 8], 0x429
call fcn.00433bc2
mov eax, dword [ebp - 0x48]
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x433172
mov eax, dword [eax]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 8
jb 0x433187
mov eax, dword [eax]
push eax
push 0x410
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push esi
push dword [ebx + 8]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x3f0
push dword [ebx + 8]
call edi
push eax
call esi
push 0
push dword [ebx + 8]
call esi
mov ecx, ebx
call fcn.00433305
mov al, 1
jmp 0x4331ca
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret 0x1c
Function at 0x434bd0
Capabilities:
Create directory

Disassembly:
push 0x58
mov eax, 0x45b158
call fcn.00438c9e
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x434be6
sub ecx, esi
sar ecx, 1
cmp ecx, 0x104
jbe 0x434c04
xor al, al
jmp 0x434dab
push edx
lea ecx, [ebp - 0x44]
call fcn.00413941
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor ebx, ebx
lea eax, [ebp - 0x44]
inc ebx
cmp dword [ebp - 0x30], 8
mov byte [ebp - 4], bl
jb 0x434c3b
mov eax, dword [ebp - 0x44]
xor ecx, ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004370f8
mov esi, dword [ebp - 0x18]
add esp, 0x14
push 0x5c
pop edi
test esi, esi
je 0x434c6e
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 8
jb 0x434c67
mov edx, eax
cmp word [edx + esi*2 - 2], di
je 0x434c7d
push edi
lea ecx, [ebp - 0x28]
call fcn.00421a7a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmp ecx, 8
jb 0x434c87
mov edx, eax
push edx
call fcn.004363bd
pop ecx
test al, al
je 0x434d47
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
push esi
push 0x405fcc
call fcn.00421028
mov edi, eax
jmp 0x434d34
mov eax, edi
lea ecx, [ebp - 0x61]
sub eax, esi
push ecx
inc eax
lea ecx, [ebp - 0x5c]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.00415237
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
jb 0x434cd5
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0041847f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x434ced
mov eax, dword [ebp - 0x28]
push eax
call fcn.004363bd
pop ecx
test al, al
jne 0x434d11
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x434d04
mov eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x434d3f
lea esi, [edi + 1]
cmp esi, dword [ebp - 0x34]
jae 0x434d4b
push esi
push 0x405fcc
lea ecx, [ebp - 0x44]
call fcn.00421028
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
mov edi, eax
call fcn.00414f1b
cmp edi, 0xffffffff
jne 0x434cae
jmp 0x434d53
lea ecx, [ebp - 0x5c]
call fcn.00414f1b
xor bl, bl
jmp 0x434d53
lea ecx, [ebp - 0x5c]
call fcn.00414f1b
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x434d90
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
cmp eax, 0x1000
jb 0x434d87
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00414f1b
mov al, bl
call fcn.00438c4d
ret
Function at 0x434db1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004367f3
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0043a2b0
add esp, 0x18
mov dword [ebp - 0x40], 0x3c
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x24], 5
je 0x434e39
cmp dword [ebp - 0x44], 6
jl 0x434e39
mov esi, dword [0x46003c]
mov ecx, esi
push 0x401678
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
mov dword [ebp - 0x34], 0x4016bc
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x434e4b
xor al, al
jmp 0x434e61
test ebx, ebx
je 0x434e56
mov eax, dword [ebp - 8]
mov dword [ebx], eax
jmp 0x434e5f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438c2b
leave
ret
Function at 0x4351f1
Capabilities:
Get file version info

Disassembly:
push 0x228
mov eax, 0x45b1fd
call fcn.00438c9e
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x228], ebx
test edi, edi
je 0x43535c
push edi
call fcn.004363ea
pop ecx
test al, al
je 0x43535c
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x435253
sub esi, ecx
mov dword [ebp - 0x230], ebx
lea eax, [ebp - 0x230]
sar esi, 1
push eax
inc esi
lea ecx, [ebp - 0x224]
push esi
call fcn.00429c08
push 0xffffffffffffffff
push edi
push esi
mov esi, dword [ebp - 0x224]
push esi
call fcn.0043d777
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x230], eax
test eax, eax
je 0x43534e
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43534e
push edi
push dword [ebp - 0x230]
push dword [ebp - 0x214]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x435347
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x405efc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x435347
cmp dword [ebp - 0x218], 0
je 0x435347
mov eax, dword [ebp - 0x228]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x210]
push edx
push 0x405fd4
push 0xff
push eax
call fcn.00437360
add esp, 0x1c
test eax, eax
js 0x435347
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push eax
call fcn.00414f74
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 0x229], bl
mov ebx, dword [ebp - 0x21c]
jmp 0x435362
mov byte [ebp - 0x229], bl
test esi, esi
je 0x435374
sub ebx, esi
and ebx, 0xfffffffe
push ebx
push esi
call fcn.00413839
pop ecx
pop ecx
mov al, byte [ebp - 0x229]
call fcn.00438c4d
ret

Function at 0x435380
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x45b245
call fcn.00438c9e
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x54], esi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x3c
pop edi
push edi
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x50], 1
call fcn.0043a2b0
push 0x104a
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x38], 0x825
call fcn.00438fbc
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x14], 8
jb 0x4353eb
mov ebx, dword [ebx]
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.00414f74
push dword [ebp - 0x3c]
call fcn.00438fc5
pop ecx
mov eax, esi
call fcn.00438c4d
ret
Function at 0x4357a4
Capabilities:
Get common file path

Disassembly:
push 0x23c
mov eax, 0x45b27c
call fcn.00438c9e
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x248]
call fcn.0041591a
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
push 0x406064
push 0x405ff0
call fcn.00436cda
xor ebx, ebx
add esp, 0xc
inc ebx
test al, al
je 0x4357fd
cmp dword [ebp - 0x248], ebx
jne 0x4357fd
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
call fcn.00413b30
jmp 0x43582a
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x435828
cmp eax, edi
ja 0x435828
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00414f74
jmp 0x43582a
xor bl, bl
lea ecx, [ebp - 0x224]
call fcn.004183fb
lea ecx, [ebp - 0x244]
call fcn.00414f1b
mov al, bl
call fcn.00438c4d
ret

Function at 0x4358ff
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x45b245
call fcn.00438c9e
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x54], esi
xor ecx, ecx
mov dword [ebp - 0x50], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x3c
pop edi
push edi
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x50], 1
call fcn.0043a2b0
push 0x104a
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], 0x825
call fcn.00438fbc
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x14], 8
jb 0x43596a
mov ebx, dword [ebx]
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x20]
mov ecx, esi
call fcn.00414f74
push dword [ebp - 0x20]
call fcn.00438fc5
pop ecx
mov eax, esi
call fcn.00438c4d
ret

Function at 0x435aa1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi]
jne 0x435aba
test ebx, ebx
je 0x435aba
push 0x57
pop eax
jmp 0x435b32
movzx eax, word [ebp + 0xc]
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x460970]
mov edi, eax
test edi, edi
je 0x435b2c
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x18], eax
test eax, eax
je 0x435b2c
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jbe 0x435afc
mov dword [esi], edi
mov eax, 0xea
jmp 0x435b31
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x435b1a
push edi
push eax
push dword [ebp + 0x14]
call fcn.00439d30
add esp, 0xc
xor eax, eax
jmp 0x435b31
mov eax, dword [esi]
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [esi], ecx
sbb eax, eax
and eax, 0xea
jmp 0x435b31
mov eax, 0x716
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43603f
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push edi
mov edi, 0x208
push edi
push 0
push eax
call fcn.0043a2b0
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0043a2b0
add esp, 0x18
lea eax, [ebp - 0x414]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4360ff
cmp eax, edi
jae 0x4360ff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x406194
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4360ff
lea eax, [ebp - 0x20c]
push eax
call fcn.004363ea
pop ecx
test al, al
je 0x4360e6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004363ea
pop ecx
test al, al
jne 0x4360ff
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00414f74
push esi
call fcn.0043489f
pop ecx
mov al, 1
jmp 0x436101
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438c2b
leave
ret

Function at 0x4363bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
test eax, eax
je 0x4363e5
xor ebx, ebx
cmp word [eax], bx
je 0x4363e5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4363e1
test al, 0x10
jbe 0x4363e1
mov bl, 1
mov al, bl
jmp 0x4363e7
xor al, al
pop ebx
pop ebp
ret

Function at 0x4363ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
test eax, eax
je 0x436412
xor ebx, ebx
cmp word [eax], bx
je 0x436412
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43640e
test al, 0x10
jne 0x43640e
mov bl, 1
mov al, bl
jmp 0x436414
xor al, al
pop ebx
pop ebp
ret
Function at 0x437ebd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46005c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push edi
xor edi, edi
push edi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
mov dword [ebp - 0x214], edi
call fcn.004367f3
movzx eax, byte [ebp - 0x210]
xor ecx, ecx
add esp, 0xc
cmp dword [ebp - 0x214], ecx
setne cl
shl eax, 8
or eax, ecx
cmp eax, 0x500
jb 0x437fbb
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], edi
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x437fbb
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x214], edi
cmp dword [ebp - 0x210], edi
je 0x437f8f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x437f8f
mov ecx, dword [ebp - 0x214]
test ecx, ecx
je 0x437f8f
push dword [ebp - 0x210]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x437f98
sub edx, ecx
sar edx, 1
je 0x437fbb
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00414f74
mov al, 1
jmp 0x43802d
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
push dword [ebp + 8]
push edi
call fcn.0043803b
add esp, 0x14
test eax, eax
js 0x437fef
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x437fde
sub ecx, edx
sar ecx, 1
jne 0x438022
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call fcn.0043803b
add esp, 0x14
test eax, eax
js 0x43802b
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x438011
sub ecx, edx
sar ecx, 1
je 0x43802b
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x437fb0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438c2b
leave
ret

Function at 0x439252
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x439291
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x439291
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x439291
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x439291
cmp dword [ecx + 0x74], 0xe
jbe 0x439291
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4458c7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044558a

Function at 0x4458d2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044570b
Function at 0x454e81
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x280
mov eax, 0x45b6a9
call fcn.00438c9e
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x288], eax
test edi, edi
jne 0x454ec4
test ebx, ebx
je 0x454ec4
push 0x57
pop eax
jmp 0x455096
xor eax, eax
lea ecx, [ebp - 0x280]
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x25c]
push 0x109
push eax
call fcn.00453be0
mov dword [ebp - 0x280], 0x40eb58
and dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push 0
push 0x109
push eax
lea ecx, [ebp - 0x150]
call fcn.00453be0
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x280]
push esi
mov dword [ebp - 0x150], 0x40eb58
call fcn.004543d8
mov esi, eax
test esi, esi
jne 0x45506d
test ebx, ebx
jne 0x454f59
test edi, edi
jne 0x454f59
push eax
push eax
push dword [ebp - 0x288]
push eax
push dword [ebp - 0x270]
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
jmp 0x45506d
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x270]
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x45506d
cmp dword [ebp - 0x18], 2
je 0x454faf
cmp dword [ebp - 0x18], 7
je 0x454faf
cmp dword [ebp - 0x18], 1
je 0x454faf
test ebx, ebx
jne 0x454f9f
mov eax, dword [ebp - 0x14]
jmp 0x45506b
push edi
push ebx
push dword [ebp - 0x288]
push dword [ebp - 0x28c]
jmp 0x454f40
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
call fcn.00454512
mov esi, eax
test esi, esi
jne 0x45506d
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x140]
push dword [ebp - 0x288]
push dword [ebp - 0x28c]
push dword [ebp - 0x270]
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x45506d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
dec eax
push eax
call fcn.00453d35
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x150]
call fcn.004544ba
mov esi, eax
test esi, esi
jne 0x45506d
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
test ebx, ebx
jne 0x45502a
lea eax, [ecx + ecx]
jmp 0x45506b
mov eax, dword [edi]
shr eax, 1
cmp ecx, eax
jbe 0x455039
mov esi, 0xea
jmp 0x455025
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
and dword [ebp - 0x20], 0
dec eax
push eax
call fcn.00453d35
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
call fcn.00454530
mov esi, eax
test esi, esi
jne 0x45506d
mov eax, dword [ebp - 0x20]
add eax, eax
mov dword [edi], eax
mov ebx, 0x40eb58
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], ebx
call fcn.00453c3b
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], ebx
call fcn.00453c3b
mov eax, esi
call fcn.00438c4d
ret 0x18
Function at 0x4556f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45571d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45571d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40aa40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aa79
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40aa82
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa8c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aaad
mov al, byte [esp]
jmp 0x40aaaf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b134
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afac
mov eax, dword [0x45309c]
cmp byte [eax], 0
je 0x40b1b0
mov eax, dword [0x452ebc]
call fcn.00402980
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082b4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b1f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x452e6c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454664]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret