joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410e3f
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x470607
call fcn.00452eb4
push 0x47cff4
lea ecx, [ebp - 0x14]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0xc
pop esi
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00450cb0
add esp, 0xc
push 0x47c9d8
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
call fcn.004012e2
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00434ad0
test eax, eax
je 0x410ebe
push 0x47ca68
lea ecx, [ebp - 0x10]
call fcn.00407601
lea eax, [ebp - 0x28]
test eax, eax
jne 0x410ed8
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor esi, esi
jmp 0x410efb
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x10]
call fcn.00466fe4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
cmp esi, ebx
jne 0x410f2b
push 0x47d018
lea ecx, [ebp - 0x10]
call fcn.004012e2
push 2
pop eax
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov dword [ebp - 0x10], 7
call fcn.00434ad0
test eax, eax
je 0x410f42
mov dword [ebp - 0x10], 0xf
mov eax, dword [edi + 0x14]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x28]
and esi, ecx
push esi
push ebx
push 4
pop esi
push esi
push esi
push 0xff
push dword [ebp - 0x10]
push 3
push eax
call dword [0x471378]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
je 0x410fc4
lea esi, [edi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push 0x410588
push ebx
push ebx
mov dword [ebp - 0x1c], ebx
call fcn.00451732
add esp, 0x18
mov dword [edi + 0xc], eax
cmp eax, 0xffffffff
jne 0x410fbb
push dword [edi + 8]
mov dword [ebp - 0x14], ebx
mov dword [esi], ebx
call dword [0x4713dc]
or dword [edi + 8], 0xffffffff
push 0x47d070
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 3
jmp 0x410fd4
mov dword [ebp - 0x14], 1
jmp 0x410ff2
push 0x47d0bc
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x24], ebx
je 0x411000
push dword [ebp - 0x24]
call dword [0x471388]
cmp dword [ebp - 0x14], ebx
je 0x411064
push 0x47d0f0
lea ecx, [ebp - 0x10]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], 5
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0x47cd20
lea ecx, [ebp - 0x18]
call fcn.004012e2
lea eax, [ebp - 0x18]
push eax
push 0x4b76d8
mov dword [ebp - 4], 6
call fcn.00402ed9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp - 0x14]
call fcn.00452f8c
ret
Function at 0x41a064
Capabilities:
Check http status code

Disassembly:
push 0x20
mov eax, 0x46c7fa
call fcn.00452eb4
xor ecx, ecx
push 2
pop edx
xor edi, edi
mov eax, 0x100
mul edx
seto cl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xff
mov dword [ebp - 0x28], 4
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
mov esi, dword [0x4716b4]
pop ecx
push edi
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push dword [ebp + 8]
call esi
test eax, eax
je 0x41a228
cmp dword [ebp - 0x18], 0x197
jne 0x41a0cd
push 0x29
jmp 0x41a0dc
cmp dword [ebp - 0x18], 0x191
jne 0x41a1fe
push 0x28
pop edi
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41a130
call dword [0x47140c]
cmp eax, 0x7a
jne 0x41a130
push ebx
call fcn.0043f022
mov eax, dword [ebp - 0x14]
pop ecx
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
pop ecx
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x41a228
push ebx
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x10]
jmp 0x41a147
inc esi
inc esi
movzx eax, word [esi]
push eax
call fcn.00451d13
pop ecx
test eax, eax
jne 0x41a145
mov eax, dword [ebp - 0x10]
cmp esi, eax
je 0x41a197
push dword [eax - 0xc]
sub esi, eax
sar esi, 1
lea ecx, [ebp - 0x10]
mov edi, esi
call fcn.0040165f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
mov esi, ecx
lea edx, [eax + edi*2]
sub esi, edi
lea edi, [esi + esi + 2]
push edi
push edx
lea ecx, [ecx + ecx + 2]
push ecx
push eax
call fcn.0040768e
add esp, 0x10
push esi
lea ecx, [ebp - 0x10]
call fcn.004016a8
lea edi, [ebp - 0x10]
call fcn.00408b79
push 0x494dbc
xor ecx, ecx
mov esi, edi
call fcn.004073c6
test eax, eax
je 0x41a1f2
push 0x494dc8
xor ecx, ecx
call fcn.004073c6
test eax, eax
je 0x41a1f2
push 0x494dd8
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push 0
mov eax, edi
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
mov byte [ebp - 4], 2
call fcn.00411336
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x41a1f9
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x10]
jmp 0x41a220
push 0x494d68
lea ecx, [ebp - 0x20]
call fcn.004012e2
push edi
lea eax, [ebp - 0x20]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.00411806
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push ebx
call fcn.0043f022
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.00452f8c
ret
Function at 0x4224e2
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x46feb1
call fcn.00452eb4
push 0x497ac0
lea ecx, [ebp - 0x1c]
call fcn.004012e2
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push 0x497b10
lea ecx, [ebp - 0x18]
call fcn.004012e2
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00401103
push 0x497b7c
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401103
push 0x497b98
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 4]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
push eax
call fcn.0043ef1e
mov dword [ebp + 8], eax
cmp eax, esi
je 0x4225e2
push 0x497b9c
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411806
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x4225bd
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], esi
je 0x4225ca
push dword [ebp - 0x14]
call fcn.0043ef12
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, 0x3d32
call fcn.00452f8c
ret 8
push esi
push dword [ebp - 0x14]
call fcn.0043ef24
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42264c
push 0x497ba8
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00411806
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x10], esi
je 0x42262b
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], esi
je 0x422638
push dword [ebp - 0x14]
call fcn.0043ef12
mov esi, 0x3d32
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
jmp 0x4225da
cmp dword [ebp - 0x10], esi
je 0x422659
push dword [ebp - 0x10]
call fcn.0043ef12
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
call fcn.0043ef2a
neg eax
sbb eax, eax
inc eax
lea ecx, [ebp + 8]
je 0x4226a2
push dword [ebp - 0x10]
mov dword [ebp + 8], 3
push ebx
call fcn.00422923
mov edi, eax
cmp dword [ebp - 0x10], esi
je 0x422691
push dword [ebp - 0x10]
call fcn.0043ef12
cmp dword [ebp - 0x14], esi
je 0x42269e
push dword [ebp - 0x14]
call fcn.0043ef12
mov esi, edi
jmp 0x42263d
push 0x497bb0
call fcn.004012e2
push esi
lea eax, [ebp + 8]
push eax
push edi
mov byte [ebp - 4], 6
call fcn.00411806
mov ecx, dword [ebp + 8]
jmp 0x422613
Function at 0x426bfa
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x46bedc
call fcn.00452eb4
push 0x4b78c4
lea ecx, [ebp - 0x1c]
call fcn.00401326
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push 0x4997d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004012e2
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call fcn.00401163
push 0x497b98
lea eax, [ebp - 0x18]
push eax
call fcn.00407162
cmp dword [ebp - 0x10], edi
je 0x426c5d
push dword [ebp - 0x10]
call fcn.0043ef12
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
call fcn.0043ef1e
cmp eax, edi
je 0x426cde
push 0x497b9c
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.00411806
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], edi
je 0x426cbf
push dword [ebp - 0x14]
call fcn.0043ef12
cmp dword [ebp - 0x10], edi
je 0x426ccc
push dword [ebp - 0x10]
call fcn.0043ef12
lea ecx, [ebx - 0x10]
call fcn.004017df
mov eax, esi
call fcn.00452f8c
ret 8
push edi
push dword [ebp - 0x10]
call fcn.0043ef24
cmp eax, edi
je 0x426cfe
push 0x497ba8
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 5
jmp 0x426c88
cmp dword [ebp - 0x14], edi
je 0x426d0b
push dword [ebp - 0x14]
call fcn.0043ef12
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.0043ef2a
test eax, eax
jne 0x426d2e
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call fcn.0043a023
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
cmp dword [ebp - 0x14], edi
je 0x426d46
push dword [ebp - 0x14]
call fcn.0043ef12
cmp dword [ebp - 0x10], edi
je 0x426d53
push dword [ebp - 0x10]
call fcn.0043ef12
xor esi, esi
jmp 0x426ccc
Function at 0x42cff8
Capabilities:
Persist via run registry key

Disassembly:
push 8
mov eax, 0x469a63
call fcn.00452eb4
push 0x49c1b4
lea ecx, [ebp - 0x10]
call fcn.004012e2
xor edi, edi
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 2
pop ebx
push ebx
mov dword [ebp - 4], edi
call fcn.00411336
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x42d066
push 0x49c1dc
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 1
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00411336
add esp, 0x10
jmp 0x42d12b
mov eax, esi
call fcn.00401000
test eax, eax
jne 0x42d083
push 0x49c1fc
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], ebx
jmp 0x42d052
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 3
mov eax, dword [eax]
push eax
push 0x49c220
push 0x80000002
call fcn.00434592
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [eax - 0xc], edi
je 0x42d0e6
lea eax, [ebp - 0x10]
push eax
call fcn.0042d60f
push dword [esi]
lea ecx, [ebp - 0x10]
call fcn.004074fe
test eax, eax
jne 0x42d0e6
push 0x49c280
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov byte [ebp - 4], 4
jmp 0x42d111
mov eax, dword [esi]
push 5
push edi
push edi
push eax
push edi
push edi
call dword [0x471464]
cmp eax, 0x21
mov eax, 0x49c2dc
jl 0x42d104
mov eax, 0x49c304
push eax
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov byte [ebp - 4], 5
push edi
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00411336
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452f8c
ret
Function at 0x403180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b2020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403218
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031f8
xor eax, eax
push ebp
push 0x4031f1
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 0x403234
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 0x4031f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b2020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b2020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fc4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b604c], 0
je 0x404025
cmp word [0x4b6220], 0xd7b2
jne 0x403fed
cmp dword [0x4b6228], 0
jbe 0x403fed
mov eax, 0x4b621c
call dword [0x4b6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b206c
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 0x40404c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b2030], 0
jne 0x404041
push 0
push 0x4b2064
push 0x4b206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404178
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4b604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404140
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405c88
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405eb8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405d0b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405eb8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405d0b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ed4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405d94
xor eax, eax
push ebp
push 0x405d8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405ad0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405d72
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405ef4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405d72
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d94
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405eae
cmp byte [ebp - 0xd], 0
jne 0x405ddb
cmp byte [ebp - 0x12], 0
je 0x405eae
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405df4
dec ebx
cmp byte [ebx], 0x2e
je 0x405e03
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405df3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405eae
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405e40
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405eae
cmp byte [ebp - 0xd], 0
je 0x405eae
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405eae
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40659c
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 0x406602
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.00404434
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065ec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406609
lea eax, [ebp - 0x10]
call fcn.004041c4
ret

Function at 0x40c340
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 0x40c379
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042b4
jmp 0x40c382
mov eax, ebx
mov edx, esi
call fcn.00404218
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ca34
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c8ac
mov eax, dword [0x4b57d4]
cmp byte [eax], 0
je 0x40cab0
mov eax, dword [0x4b5400]
call fcn.00402ad8
call fcn.00402948
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.004094f8
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 0x40caf8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cae6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b536c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b6668]
call fcn.00405a94
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 0x40d3b8
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 0x40d48e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040425c
lea eax, [ebp - 8]
call fcn.004046d4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404684
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d478
mov eax, ebx
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d471
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.00404684
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d45b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d4a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d45b
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 0x40d478
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d495
lea eax, [ebp - 8]
call fcn.004041c4
ret

Function at 0x40da58
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 0x40dabc
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.00404434
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f90
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dac3
lea eax, [ebp - 0xc]
call fcn.004041c4
ret

Function at 0x423e84
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423cdc
dec esi
jne 0x423ea6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425608
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b688c
cmp dword [edi], 0
jne 0x425684
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b6888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b264c
mov ecx, 2
call fcn.004029dc
mov edx, 0x4255e0
lea eax, [esi + 5]
call fcn.00425600
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425600
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425659
mov dword [0x4b6888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426c00
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 0x426c06
ret

Function at 0x4290d4
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 0x429125
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42910c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4290fc
jmp 0x429125
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 0x42910d
pop ebx
mov esp, ebp
pop ebp
ret