joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x6a6f6aa9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x306e787c
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4cb76d
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push esi
push ebx
add esp, 0xfffffff4
push 0x400
call fcn.004e0a0d
mov edi, eax
test edi, edi
je 0x4cb7c0
xor ebx, ebx
mov esi, esi
mov ecx, ebx
mov eax, 8
lea esi, [ebx + 1]
mov esi, esi
mov edx, ecx
shr edx, 1
test cl, 1
je 0x4cb7a8
xor edx, 0xedb88320
mov ecx, edx
dec eax
jne 0x4cb799
mov dword [edi + ebx*4], edx
mov ebx, esi
cmp ebx, 0xff
jle 0x4cb78d
mov dword [0x419008], edi
lea esp, [ebp - 0x18]
pop ebx
pop esi
pop edi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [0x426acc]
mov edx, eax
xor edx, ebx
movzx edx, dl
mov ecx, dword [0x4268bc]
shr eax, 8
xor eax, dword [ecx + edx*4]
mov dword [0x426acc], eax
and eax, 0xff
add eax, dword [0x426ad0]
imul eax, eax, 0x8088405
inc eax
mov dword [0x426ad0], eax
shr eax, 0x18
mov edx, dword [0x426ad4]
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [ecx + eax*4]
mov dword [0x426ad4], edx
mov eax, ebx
pop ebx
leave
ret

Function at 0x4cbb4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push ebx
mov ebx, dword [ebp + 8]
add esp, 0xfffffff4
push dword [ebp + 0xc]
call fcn.004cb885
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
add esp, 0x10
lea ebx, [ebp - 0x10]
lea esi, [ebp - 5]
add esp, 0xfffffff4
call fcn.004cb809
xor al, byte [ebx]
mov byte [ebx], al
and eax, 0xff
push eax
call fcn.004cb829
add esp, 0x10
inc ebx
cmp ebx, esi
jle 0x4cbb7d
movzx edx, byte [ebp - 5]
mov eax, dword [0x41a8b8]
test byte [eax + 0x1c], 2
je 0x4cbbb9
movzx eax, byte [0x426909]
cmp edx, eax
jne 0x4cbbc4
jmp 0x4cbbcd
movzx eax, byte [0x42690f]
cmp edx, eax
je 0x4cbbcd
mov eax, 0xffffffff
jmp 0x4cbc0b
mov ebx, dword [0x4268cc]
mov eax, dword [0x41a098]
cmp ebx, eax
jle 0x4cbbde
mov ebx, eax
mov esi, dword [0x4268c8]
sub ebx, 1
jb 0x4cbc09
add esp, 0xfffffff4
call fcn.004cb809
xor al, byte [esi]
mov byte [esi], al
and eax, 0xff
push eax
call fcn.004cb829
add esp, 0x10
inc esi
sub ebx, 1
jae 0x4cbbe9
xor eax, eax
lea esp, [ebp - 0x28]
pop ebx
pop esi
leave
ret
Function at 0x4d11b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push esi
push ebx
cmp dword [0x426980], 0
je 0x4d11d5
mov eax, 0xffffffff
jmp 0x4d12d5
mov eax, dword [0x41a098]
test eax, eax
jg 0x4d11e9
dec eax
mov dword [0x41a098], eax
jmp 0x4d121b
cmp dword [0x4268cc], 0
jg 0x4d1282
add esp, 0xfffffffc
push 0x2000
push dword [0x4268c4]
push dword [0x4268e8]
call fcn.004e0945
mov dword [0x4268cc], eax
add esp, 0x10
test eax, eax
jne 0x4d1231
mov dword [0x4268cc], 0
mov eax, 0xffffffff
jmp 0x4d12d5
test eax, eax
jge 0x4d1269
push 0x401
mov edx, 0x408c0a
mov edi, edx
mov al, 0
cld
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx - 1]
push eax
push edx
push 0x41a000
mov eax, dword [0x426af8]
call eax
add esp, 0xfffffff4
push 3
call fcn.004e0a75
nop
add dword [0x4268f0], 0x2000
mov eax, dword [0x4268c4]
mov dword [0x4268c8], eax
call fcn.004d1079
mov eax, dword [0x41a8b8]
test byte [eax + 0x1c], 1
je 0x4d12c1
mov ebx, dword [0x4268c8]
mov esi, dword [0x4268cc]
dec esi
cmp esi, 0xffffffff
je 0x4d12c1
mov esi, esi
add esp, 0xfffffff4
call fcn.004cb809
xor al, byte [ebx]
mov byte [ebx], al
and eax, 0xff
push eax
call fcn.004cb829
add esp, 0x10
inc ebx
sub esi, 1
jae 0x4d12a1
dec dword [0x4268cc]
mov eax, dword [0x4268c8]
movzx eax, byte [eax]
inc dword [0x4268c8]
lea esp, [ebp - 0x18]
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4dcf39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x4dcfe9
call fcn.004cb7c9
mov edi, eax
mov eax, dword [ebp + 8]
sub ebx, ebx
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x4dcfe7
test esi, 3
je 0x4dcf7d
xor al, byte [esi]
inc esi
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4dcf67
mov edx, ecx
shr ecx, 3
je 0x4dcfd2
nop
xor eax, dword [esi]
add esi, 4
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4dcf85
mov ecx, edx
and ecx, 7
je 0x4dcfe7
xor al, byte [esi]
inc esi
mov bl, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4dcfd9
not eax
pop ecx
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x7bc40cc9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x43ad714e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40f0b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x62d470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x62d46c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x62d470], edx
cmp eax, 0x26f
jl 0x40f0b8
mov dword [0x597ff0], 0x270
ret

Function at 0x40f0f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x62d474]
mov ebx, dword [eax*4 + 0x62d470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x62daa4]
mov dword [eax*4 + 0x62d470], edx
cmp eax, 0xe2
jl 0x40f0f8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x62d474]
mov ebx, dword [eax*4 + 0x62d470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x62d0e4]
mov dword [eax*4 + 0x62d470], edx
cmp eax, 0x26e
jl 0x40f148
mov edx, dword [0x62d470]
mov ecx, dword [0x62de2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x62daa0]
mov dword [0x62de2c], eax
mov dword [0x597ff0], 0
pop ebx
ret

Function at 0x40f1d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x597ff0]
add dword [0x597ff0], 1
mov eax, dword [0x62c020]
cmp eax, dword [0x597740]
jne 0x40f1f3
cmp ebx, 0x271
jb 0x40f214
mov eax, dword [0x62c020]
call fcn.0040f0b0
not dword [0x62c020]
mov eax, dword [0x62c020]
mov dword [0x597740], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f230
call fcn.0040f0f0
xor ebx, ebx
mov dword [0x597ff0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x62d470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410d10
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x597490]
cmp ax, 0xcb
je 0x410e1c
cmp ax, 0xcc
je 0x410e1c
lea esi, [esi]
mov edx, dword [0x62e070]
test edx, edx
je 0x410d45
mov eax, dword [0x62df20]
call edx
mov ebx, eax
jmp 0x410d4a
mov ebx, 0x62df24
cmp word [0x62df10], 0
jle 0x410d70
mov eax, 0x62def0
call fcn.00410f80
mov eax, ebx
call fcn.004108d0
mov eax, ebx
call fcn.00410940
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410d92
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410d8d
mov edx, edi
mov eax, ebx
call fcn.0040fd40
jmp 0x410d90
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410d78
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x62df10], 0
jle 0x410e1c
mov edx, 0x62de30
mov eax, ebx
call fcn.0040fe80
mov edi, eax
test edi, edi
je 0x410dec
mov eax, dword [0x62dec4]
mov dword [edi + 0xc], eax
cmp dword [0x62dec4], 0
je 0x410de0
mov eax, dword [0x62dec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x62dec4], eax
nop
sub word [0x62df10], 1
cmp word [0x62df10], 0
sete bl
mov eax, 0x62def0
call fcn.00410fa0
test bl, bl
je 0x410e1c
mov eax, 0x62def0
call fcn.00410f70
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x412da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00412d80
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x412eca
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b940
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x412e2f
mov edx, 0x62d2f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x412e81
call sub.kernel32.dll_GetLastError
call fcn.004040d0
lea eax, [ebp - 0x10]
call fcn.0040a220
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a7d0
mov edx, dword [ebp - 0x14]
mov ecx, 0x5b632c
lea eax, [ebp - 0x10]
call fcn.0040a550
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040b210
jmp 0x412f18
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x412e9a
cmp eax, ecx
je 0x412ea4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b940
cmp byte [0x597700], 0
jne 0x412f18
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bee0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b2a0
lea esi, [esi]
jmp 0x412f18
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b940
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x412eee
mov eax, 0x62d2f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x597700], 0
jne 0x412f18
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bee0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b2a0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00412d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413330
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x62d260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413510
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x62d260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00403650
call sub.kernel32.dll_GetCommandLineA
mov dword [0x597510], eax
mov ebx, eax
jmp 0x4134d3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x4133b8
cmp byte [ebx], 0
je 0x4134dc
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413433
mov al, byte [ebx]
cmp al, 1
jb 0x413428
sub al, 0x20
jbe 0x4133f8
sub al, 2
je 0x41340c
jmp 0x413428
mov al, byte [ebp - 0x114]
test al, al
je 0x413438
add dword [ebp - 0x110], 1
jmp 0x413430
cmp byte [ebx + 1], 0x22
je 0x413423
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413430
add ebx, 1
jmp 0x413430
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4133e8
test dword [ebp - 0x10c], 0xffffffff
je 0x4134cc
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413510
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x62d260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x4134c3
mov al, byte [ebx]
cmp al, 1
jb 0x4134b8
sub al, 0x20
jbe 0x413488
sub al, 2
je 0x41349c
jmp 0x4134b8
mov al, byte [ebp - 0x114]
test al, al
je 0x4134c8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x4134c0
cmp byte [ebx + 1], 0x22
je 0x4134b3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4134c0
add ebx, 1
jmp 0x4134c0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413478
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x4133bb
mov ebx, dword [ebp - 0x10c]
mov dword [0x62d250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x62d260
call fcn.00410b50
mov eax, dword [0x62d260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b900
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x42b9aa
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x42b9c6
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x42b9c6
sub dx, 0x20
je 0x42b9a0
sub dx, 0x80
je 0x42b9a0
sub dx, 0x1f62
jb 0x42b9c6
sub dx, 1
jbe 0x42b9a0
sub dx, 6
je 0x42b9a0
sub dx, 0x26
jne 0x42b9c6
nop
jmp 0x42b9a0
cmp eax, dword [ebp - 0x20]
jg 0x42b948
lea esi, [esi]
jmp 0x42b9c6
cmp dword [ebp - 0x1c], 2
jne 0x42b9ba
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x42b9c6
mov al, byte [ebp - 0xc]
call fcn.0040b5a0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x42ba44
sub ax, 0x21
je 0x42ba58
sub ax, 0x17
je 0x42ba64
sub ax, 0x222
je 0x42ba70
sub ax, 0x392
je 0x42ba78
sub ax, 1
je 0x42ba80
sub ax, 0x1996
je 0x42ba88
sub ax, 1
je 0x42ba90
sub ax, 6
je 0x42ba98
sub ax, 0xb
je 0x42baa8
sub ax, 0x1b
je 0x42baa0
sub ax, 0x367
je 0x42bab0
jmp 0x42bab8
mov ax, word [ebp - 0x24]
call fcn.0040b640
mov byte [ebp - 0x10], al
jmp 0x42bac0
mov byte [ebp - 0x10], 0x20
jmp 0x42bac0
mov byte [ebp - 0x10], 0x2e
jmp 0x42bac0
mov byte [ebp - 0x10], 0x27
jmp 0x42bac0
mov byte [ebp - 0x10], 0x2c
jmp 0x42bac0
mov byte [ebp - 0x10], 0x27
jmp 0x42bac0
mov byte [ebp - 0x10], 0x20
jmp 0x42bac0
mov byte [ebp - 0x10], 0x20
jmp 0x42bac0
mov byte [ebp - 0x10], 0x20
jmp 0x42bac0
mov byte [ebp - 0x10], 0x20
jmp 0x42bac0
mov byte [ebp - 0x10], 0x2d
jmp 0x42bac0
mov byte [ebp - 0x10], 0x27
jmp 0x42bac0
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x438c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00438c10
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x438d38
mov al, byte [ebp - 0x110]
test al, al
je 0x438d01
lea eax, [ebp - 0xc]
call fcn.00403b20
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404e20
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004092d0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a0a0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5bf450
call fcn.00452020
mov edx, 0x438c8a
mov ecx, ebp
call fcn.00414070
jmp 0x438d38
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5bf450
call fcn.00452020
mov edx, 0x438d01
mov ecx, ebp
call fcn.00414070
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x438e04
mov al, byte [ebp - 0x110]
test al, al
je 0x438dcd
lea eax, [ebp - 0xc]
call fcn.00403b20
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404e20
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004092d0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a0a0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5bf450
call fcn.00452020
mov edx, 0x438d56
mov ecx, ebp
call fcn.00414070
jmp 0x438e04
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5bf450
call fcn.00452020
mov edx, 0x438dcd
mov ecx, ebp
call fcn.00414070
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00438420
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00438c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43bdb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x5c0058
call fcn.0040d170
test al, al
je 0x43be96
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0043beb0
xor eax, eax
push fcn.0043bda0
push ebp
push 0x4141b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408a50
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0043afc0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0043ab10
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043bda0
jmp 0x43bea1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043e1e0
mov esp, ebp
pop ebp
ret