joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475d7a
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
push eax
push dword [0x4b989c]
call fcn.00497926
mov ebx, eax
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call fcn.004979aa
push esp
push esi
call fcn.0048d89c
add esp, 8
test eax, eax
je 0x475db7
push esi
push ebx
call fcn.00497b36
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x476f7c
Capabilities:
Get graphical window text

Disassembly:
add esp, 0xfffffe00
mov eax, dword [0x4b989c]
test eax, eax
je 0x477029
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call fcn.004979aa
cmp dword [0x4c7754], 8
je 0x476fce
push 0x4c7758
lea ecx, [esp + 4]
push ecx
call fcn.0048d89c
add esp, 8
test eax, eax
je 0x476fce
push 0x4c7758
push dword [0x4b989c]
call fcn.00497b36
mov eax, dword [0x4c7754]
test eax, eax
je 0x476fe6
cmp eax, 1
je 0x476fe6
cmp eax, 2
je 0x476fe6
cmp eax, 8
jne 0x47700b
mov edx, 0x4c77d8
mov eax, 0x9c
call fcn.00475d7a
mov eax, 0x4c7858
call fcn.0040b578
mov edx, eax
mov eax, 0x9b
call fcn.00475d7a
mov edx, 0x64
mov eax, 2
call fcn.00444c28
test al, al
je 0x477029
push dword [0x4b989c]
call fcn.00497b5a
add esp, 0x200
ret
Function at 0x477ec4
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
mov ebx, eax
push esi
push edi
mov byte [ebp - 1], cl
mov esi, edx
cmp dword [ebx + 8], 0
jne 0x477eea
mov eax, str.comctl32.dll
call fcn.00468010
mov dword [ebx + 8], eax
mov eax, dword [ebx]
test eax, eax
je 0x477ef6
push eax
call fcn.00497896
mov dword [ebx + 0xc], 0xffffffff
mov dl, byte [ebp - 1]
mov byte [ebx + 4], dl
push 0
push dword [0x4a702c]
push dword [ebp + 8]
push esi
push 0xdc
push 0x3c
push 0
push 0
push 0x44200046
push 0
cmp byte [ebp - 1], 0
je 0x477f2e
mov ecx, str.ComboBoxEx32
jmp 0x477f33
mov ecx, str.combobox
push ecx
push 0
call fcn.00497878
mov dword [ebx], eax
cmp byte [ebp - 1], 0
je 0x477fde
lea eax, [ebp - 8]
push eax
push 0
push 0
call fcn.004977e0
push 0x4209
push 0x160
lea edx, [ebp - 0x17c]
push edx
push 0
push dword [ebp - 8]
call fcn.004977d4
push eax
push 0
push 0x402
push dword [ebx]
call fcn.00497ac4
push dword [ebp - 8]
mov eax, dword [0x4c11e4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0
lea ecx, [ebp - 0x170]
push dword [ebp - 0x178]
push ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, 1
lea edx, [ebp - 0x170]
mov eax, ebx
call fcn.0047834c
push 0
push 4
push 0x408
push dword [ebx]
call fcn.00497ac4
push 0
push 0
push 0x407
push dword [ebx]
call fcn.00497ac4
test eax, eax
je 0x477ff1
call fcn.00468370
jmp 0x477ff1
push 3
push 0
push 0
push 0
push 0
push 0
push dword [ebx]
call fcn.00497b30
mov byte [ebp - 9], 0
cmp byte [ebp - 1], 0
je 0x47801e
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push edx
call fcn.004977ce
test eax, eax
jne 0x47801e
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00478080
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47806d
call fcn.004682e8
mov edi, eax
xor esi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
test eax, edi
je 0x478067
lea edx, [esi + 0x41]
lea eax, [ebp - 0x1c]
push edx
push str._c:_
push eax
call fcn.004908b8
add esp, 0xc
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov eax, ebx
push 0
push 0xffffffffffffffff
push 0
push 2
push 0xffffffffffffffff
push 1
call fcn.0047834c
inc esi
cmp esi, 0x20
jl 0x47802d
mov eax, ebx
call fcn.004784b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47834c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
push 0x408
call fcn.0048bf20
mov ebx, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [ebx], eax
mov edx, dword [ebp + 0x1c]
mov eax, edi
mov dword [ebx + 4], edx
call fcn.0040e5c4
push eax
lea edx, [ebx + 8]
push edx
call fcn.0048d8e8
add esp, 8
cmp byte [esi + 4], 0
je 0x478488
cmp dword [esi + 8], 0x50000
jb 0x4783b0
cmp dword [0x4bcb8c], 4
jne 0x4783b4
cmp dword [0x4bcb90], 0
jne 0x4783b4
mov byte [ebp + 8], 0
cmp byte [ebp + 8], 0
jne 0x4783c6
cmp dword [ebp + 0x18], 0xffffffff
je 0x4783ca
cmp dword [ebp + 0x14], 0
je 0x4783ca
xor eax, eax
jmp 0x4783cf
mov eax, 1
test al, al
je 0x478414
cmp dword [ebp - 4], 2
mov eax, 0x4201
jne 0x4783e1
or eax, 2
push eax
push 0x160
lea edx, [ebp - 0x164]
push edx
push 0
push edi
call fcn.004977d4
cmp dword [ebp + 0x18], 0xffffffff
jne 0x478405
mov ecx, dword [ebp - 0x160]
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0x14], 0
jne 0x478414
lea eax, [ebp - 0x158]
mov dword [ebp + 0x14], eax
push 0x24
push 0
lea edx, [ebp - 0x188]
push edx
call fcn.0048d768
add esp, 0xc
mov dword [ebp - 0x188], 0x37
cmp dword [ebp + 0x14], 0
je 0x47843c
mov ecx, dword [ebp + 0x14]
jmp 0x47843f
or ecx, 0xffffffff
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x168], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x184], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x174], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x16c], edx
push ecx
push 0
push 0x401
push dword [esi]
call fcn.00497ac4
jmp 0x4784a6
push edi
push dword [ebp + 0xc]
push 0x14a
push dword [esi]
call fcn.00497ac4
push ebx
push eax
push 0x151
push dword [esi]
call fcn.00497ac4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4785e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push 0x400
lea eax, [esp + 4]
push eax
push dword [ebx]
call fcn.004979aa
mov eax, esp
call fcn.00444aa0
mov edx, esp
push edx
push 0xffffffffffffffff
push 0x158
push dword [ebx]
call fcn.00497ac4
cmp eax, 0xffffffff
je 0x478650
push 0
push eax
push 0x14e
push dword [ebx]
call fcn.00497ac4
mov eax, ebx
call fcn.004786a4
cmp dword [0x4bc218], 0
je 0x478647
mov eax, ebx
call fcn.00478a0c
jmp 0x47869a
mov eax, ebx
call fcn.004789e4
jmp 0x47869a
cmp dword [0x4bc218], 0
je 0x478674
mov eax, esp
call fcn.0040bf24
test al, al
jne 0x478674
mov edx, esp
mov eax, 0x4b98a4
xor ecx, ecx
call fcn.00461c04
jmp 0x47869a
push esp
call fcn.0049743a
cmp eax, 0xffffffff
je 0x478693
test al, 0x10
jne 0x478693
mov edx, esp
mov eax, 0x4b98a4
xor ecx, ecx
call fcn.00461a94
jmp 0x47869a
mov eax, esp
call fcn.00444f20
add esp, 0x400
pop ebx
ret
Function at 0x478bbc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
cmp ecx, 0x4e
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
jne 0x478c9f
mov edx, eax
mov ecx, dword [edx + 8]
sub ecx, 0xfffffcdb
je 0x478beb
sub ecx, 5
je 0x478c05
jmp 0x478c9b
cmp dword [eax + 0x118], 2
jne 0x478bfe
mov eax, 0x4b9dec
call fcn.004785e8
xor eax, eax
jmp 0x478caa
mov ebx, eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x2c]
cmp dword [eax], 4
jne 0x478c17
mov edi, dword [eax + 4]
jmp 0x478c1a
lea edi, [eax + 8]
cmp dword [eax], 4
jne 0x478c26
mov eax, 8
jmp 0x478c28
xor eax, eax
test esi, 1
mov dword [ebp - 4], eax
je 0x478c5e
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x164]
or edx, 0x200
push edx
push 0x160
push ecx
push 0
push edi
call fcn.004977d4
test eax, eax
je 0x478c5e
lea eax, [ebp - 0x158]
mov dword [ebx + 0x14], eax
test esi, 6
je 0x478c90
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x2c4]
or edx, 0x4001
push edx
push 0x160
push ecx
push 0
push edi
call fcn.004977d4
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
or dword [ebx + 0xc], 0x10000000
xor eax, eax
jmp 0x478caa
xor eax, eax
jmp 0x478caa
push eax
push dword [ebp + 0xc]
push ecx
push edx
call fcn.0049787e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47a34c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov ebx, eax
lea edi, [esp + 8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x47a36b
push eax
call fcn.00497896
xor edx, edx
mov dword [ebx + 4], edx
mov edx, str.ViewSmall
mov eax, str.GeneralToolbar
mov ecx, 1
call fcn.00465b48
test eax, eax
je 0x47a4be
mov esi, 0x56000944
push 0
push dword [0x4a702c]
push 0xd
push dword [0x4b9890]
push 0
push 0
push 0
push 0
push esi
push 0
push str.ToolbarWindow32
push 0
call fcn.00497878
mov ebp, eax
mov dword [ebx + 4], ebp
push 0
push 0x14
push 0x41e
push ebp
call fcn.00497ac4
push 0x100010
push 0
push 0x41f
push dword [ebx + 4]
call fcn.00497ac4
push 0x100010
push 0
push 0x420
push dword [ebx + 4]
call fcn.00497ac4
push 0
mov edx, str.FolderUp.bmp
mov eax, 0x4ba0b8
mov ecx, 0xf
call fcn.0047d3c8
test eax, eax
jne 0x47a40c
mov eax, dword [ebx + 0x1c]
xor edx, edx
mov ecx, esp
mov dword [esp], edx
mov dword [esp + 4], eax
push ecx
push 1
push 0x413
push dword [ebx + 4]
call fcn.00497ac4
push 0x4a1ffc
push 1
push 0x414
push dword [ebx + 4]
call fcn.00497ac4
mov ecx, edi
mov edx, 2
mov eax, ebx
call fcn.0047a544
mov dword [edi], 0x38
mov dword [edi + 4], 0x173
cmp dword [edi + 8], 0
jne 0x47a460
or dword [edi + 8], 1
or dword [edi + 8], 4
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x34], 2
mov dword [edi + 0x24], edx
push 0x12
call fcn.00497986
mov dword [edi + 0xc], eax
push 0xf
call fcn.00497986
mov dword [edi + 0x10], eax
cmp dword [edi + 0x2c], 0
jne 0x47a497
mov dword [edi + 0x2c], 0x28
mov eax, dword [0x4b9dec]
lea edx, [esp + 0x58]
push edx
push eax
call fcn.00497902
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x28], ecx
push edi
push 0xffffffffffffffff
push 0x401
push dword [ebx + 8]
call fcn.00497ac4
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47d06c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd4
mov esi, edx
mov ebx, eax
cmp esi, 0xa6
jne 0x47d08c
mov eax, ebx
call fcn.0047da60
mov al, 1
jmp 0x47d193
cmp esi, 0xa7
jne 0x47d0b8
push 1
push 0x4a2374
push 0
mov eax, 0x4f7
call fcn.004116e8
push eax
push 0
push 0
call fcn.004977e6
mov al, 1
jmp 0x47d193
mov eax, ebx
call fcn.0047cf30
mov edi, eax
cmp esi, 0xa8
jne 0x47d0e9
mov dword [ebx + 0x114], 0xffffffff
mov ecx, 0x4a2374
mov edx, str.ActivePath
mov eax, str.InterfaceThemes
call fcn.004657a8
jmp 0x47d165
cmp esi, 0x3e8
jl 0x47d0f9
cmp esi, 0x428
jl 0x47d100
xor eax, eax
jmp 0x47d193
push 0x2c
push 0
lea edx, [esp + 8]
push edx
call fcn.0048d768
add esp, 0xc
mov dword [esp], 0x2c
mov dword [esp + 4], 0x20
push esp
push 0
push esi
push edi
call fcn.00497962
test eax, eax
jne 0x47d132
xor eax, eax
jmp 0x47d193
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x10c]
jb 0x47d142
xor eax, eax
jmp 0x47d193
mov edx, eax
mov eax, str.InterfaceThemes
imul ecx, edx, 0x584
mov dword [ebx + 0x114], edx
mov edx, str.ActivePath
add ecx, dword [ebx + 0x108]
call fcn.004657a8
mov eax, dword [ebx + 0x518]
cmp eax, 0xffffffff
je 0x47d179
push 0
push eax
push edi
call fcn.0049783c
push 8
push esi
push edi
call fcn.0049783c
mov dword [ebx + 0x518], esi
xor edx, edx
mov eax, ebx
call fcn.0047d2a0
mov al, 1
add esp, 0x2c
pop edi
pop esi
pop ebx
ret

Function at 0x484866
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, eax
mov eax, edx
call fcn.004849bc
push 0xc
push ebx
lea edx, [esp + 8]
push edx
call fcn.0048d6f8
add esp, 0xc
xor ebx, ebx
call fcn.00484934
xor byte [esp + ebx], al
mov al, byte [esp + ebx]
and eax, 0xff
call fcn.00484958
inc ebx
cmp ebx, 0xc
jl 0x484886
mov edx, dword [0x4c98a4]
xor eax, eax
mov al, byte [esp + 0xb]
test byte [edx + 0x28], 2
je 0x4848bf
movzx ecx, word [0x4d990a]
sar ecx, 8
jmp 0x4848cb
mov ecx, dword [0x4d9910]
shr ecx, 0x18
movzx ecx, cx
movzx eax, ax
cmp ecx, eax
je 0x4848d7
or eax, 0xffffffff
jmp 0x48492b
mov eax, dword [0x4d98b8]
cdq
cmp edx, dword [0x4c8d7c]
jne 0x4848f0
cmp eax, dword [0x4c8d78]
jbe 0x4848fc
jmp 0x4848f2
jle 0x4848fc
mov eax, dword [0x4c8d78]
mov ebx, eax
jmp 0x484904
mov eax, dword [0x4d98b8]
mov ebx, eax
mov esi, dword [0x4d98b4]
jmp 0x484920
call fcn.00484934
xor byte [esi], al
mov al, byte [esi]
and eax, 0xff
call fcn.00484958
inc esi
mov edx, ebx
add ebx, 0xffffffff
test edx, edx
jne 0x48490c
xor eax, eax
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x484958
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [0x4d9bd0]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
shr edx, 8
mov ecx, dword [ecx*4 + 0x4a8944]
xor ecx, edx
mov dword [0x4d9bd0], ecx
and ecx, 0xff
add dword [0x4d9bd4], ecx
imul edx, dword [0x4d9bd4], 0x8088405
inc edx
mov dword [0x4d9bd4], edx
shr edx, 0x18
mov ecx, dword [0x4d9bd8]
xor edx, ecx
and edx, 0xff
shr ecx, 8
mov edx, dword [edx*4 + 0x4a8944]
xor edx, ecx
mov dword [0x4d9bd8], edx
ret
Function at 0x484cd1
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, 0x4d9c54
push ebx
mov ecx, dword [edx]
mov ebx, ecx
xor ebx, eax
and ebx, 0xff
shr ecx, 8
mov ebx, dword [ebx*4 + 0x4a8944]
xor ebx, ecx
mov dword [edx], ebx
and ebx, 0xff
add dword [edx + 4], ebx
imul ecx, dword [edx + 4], 0x8088405
inc ecx
mov dword [edx + 4], ecx
shr ecx, 0x18
mov ebx, dword [edx + 8]
xor ecx, ebx
and ecx, 0xff
shr ebx, 8
mov ecx, dword [ecx*4 + 0x4a8944]
xor ecx, ebx
mov dword [edx + 8], ecx
pop ebx
ret

Function at 0x484e34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp byte [0x4b046c], 0
je 0x484e79
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
imul esi, dword [ebp - 0xc]
test esi, esi
je 0x484e79
call fcn.00484cb0
mov edi, eax
xor eax, eax
mov al, byte [ebx]
call fcn.00484cd1
mov edx, edi
dec esi
xor dl, byte [ebx]
mov byte [ebx], dl
inc ebx
test esi, esi
jne 0x484e5d
push dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0048fca8
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402f2c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x464008], 0x8088405
inc edx
mov dword [ebx + 0x464008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403384
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x464024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40341c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033fc
xor eax, eax
push ebp
push 0x4033f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403438
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x464024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x464024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40413c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5a504c], 0
je 0x40419d
cmp word [0x5a5220], 0xd7b2
jne 0x404165
cmp dword [0x5a5228], 0
jbe 0x404165
mov eax, 0x5a521c
call dword [0x5a5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x464070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041c4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x464034], 0
jne 0x4041b9
push 0
push 0x464068
push 0x464070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406208
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 0x40626e
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.00404530
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406258
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406275
lea eax, [ebp - 0x10]
call fcn.004042c0
ret

Function at 0x40b59c
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 0x40b5d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043b0
jmp 0x40b5de
mov eax, ebx
mov edx, esi
call fcn.00404314
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b5e8
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 0x40b609
mov al, byte [esp]
jmp 0x40b60b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bca0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb08
mov eax, dword [0x5a4ca4]
cmp byte [eax], 0
je 0x40bd1c
mov eax, dword [0x5a4ab0]
call fcn.00402d98
call fcn.00402be4
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.00408d58
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 0x40bd64
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd52
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5a4a58]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a5668]
call fcn.00405674
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
Function at 0x40c608
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c6de
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404358
lea eax, [ebp - 8]
call fcn.004047d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6c8
mov eax, ebx
call fcn.00402a58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6ab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6f0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6ab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6c8
mov eax, dword [ebp - 0x10]
call fcn.00402a88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6e5
lea eax, [ebp - 8]
call fcn.004042c0
ret

Function at 0x40cc44
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cca8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404530
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040886c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccaf
lea eax, [ebp - 0xc]
call fcn.004042c0
ret
Function at 0x41e11c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x5a5888
cmp dword [esi], 0
jne 0x41e1c2
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5a5884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x464400
mov ecx, 2
call fcn.00402c78
mov edx, 0x41e0f4
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041e114
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041e114
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41e189
mov eax, dword [ebp - 8]
mov dword [0x5a5884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41f700
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41f706
ret

Function at 0x421cf8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x421d49
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421d30
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421d20
jmp 0x421d49
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x421d31
pop ebx
mov esp, ebp
pop ebp
ret