joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4414d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494c43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00488302
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048d99a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048eeb6
test eax, eax
je 0x4415ec
mov ecx, dword [esp + 0x3c]
call fcn.0048d9c7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4415b0
push edi
mov ecx, esi
call fcn.0048b02f
mov ecx, esi
call fcn.00441790
cmp dword [esp + 0x38], 1
jne 0x4415e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048b16a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4437e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443813
push esi
call fcn.00451bc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44380c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443899
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443882
mov eax, dword [esi + 8]
test eax, eax
je 0x443837
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44387e
cmp eax, 2
je 0x443882
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44382a
cmp eax, 3
je 0x44385d
cmp eax, 1
jne 0x44382a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44382a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44382a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004438c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4438a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004438c0
add esp, 4
pop esi
ret

Function at 0x444140
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444161
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444161
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444161
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x461440
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1c88db0]
xor edx, edx
cmp eax, edx
jne 0x461466
xor eax, eax
mov byte [eax + 0x1c88cb0], al
inc eax
cmp eax, 0x100
jl 0x46144e
mov dword [0x1c88db0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1c88cb0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4614f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4614ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x461498
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x461570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4615c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4615aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49512e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00468860
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1c57c5c
call fcn.00486a94
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x467fd3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00486a94
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x467fcc
push 0
mov ecx, eax
call fcn.0045f070
mov dword [esi + 0xc], eax
jmp 0x467fd5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x467fd5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4890f7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48912f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004871ae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00487186
jmp 0x48913b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48a7ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a82e
call fcn.004902a6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a82e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a825
xor eax, eax
jmp 0x48a836
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a83c
pop edi
pop esi
pop ebx
ret 4
Function at 0x4907d6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x490804
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x490822
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049073c
jmp 0x490822
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490822
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049073c
test edi, edi
mov eax, edi
jne 0x49080c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5287fb
Capabilities:
Terminate process

Disassembly:
jmp fcn.007029a0
jmp 0x6e90b0
cmp ecx, dword [0x86dc84]
jne 0x6e90ba
repz ret
jmp 0x52350d
Function at 0x547f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x520
push ebx
push esi
push edi
lea edi, [ebp - 0x520]
mov ecx, 0x148
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x8702ec], 0
je 0x547fc5
mov eax, dword [0x8702ec]
push eax
push 0x781bf4
lea ecx, [ebp - 0x128]
push ecx
push 0xe6
call fcn.005250c9
add esp, 0x10
jmp 0x5480b8
call fcn.00547460
test eax, eax
je 0x548044
mov esi, esp
lea eax, [ebp - 0x344]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp esi, esp
call fcn.0052a55b
lea eax, [ebp - 0x344]
push eax
call fcn.00546650
add esp, 4
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x548038
mov eax, dword [ebp - 0x134]
push eax
push 0x781bf4
lea ecx, [ebp - 0x128]
push ecx
push 0xe6
call fcn.005250c9
add esp, 0x10
mov eax, dword [ebp - 0x134]
push eax
call fcn.0052b08c
add esp, 4
jmp 0x548042
mov eax, 7
jmp 0x548185
jmp 0x5480b8
mov esi, esp
lea eax, [ebp - 0x45c]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.0052a55b
lea eax, [ebp - 0x45c]
push eax
call fcn.00524ce1
add esp, 4
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0
je 0x5480ae
mov eax, dword [ebp - 0x350]
push eax
push 0x781bf4
lea ecx, [ebp - 0x128]
push ecx
push 0xe6
call fcn.005250c9
add esp, 0x10
mov eax, dword [ebp - 0x350]
push eax
call fcn.0052b08c
add esp, 4
jmp 0x5480b8
mov eax, 7
jmp 0x548185
lea eax, [ebp - 0x128]
push eax
call fcn.00545e00
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x5480d5
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x5480ed
mov eax, dword [ebp - 0xc]
movsx ecx, byte [ebp + eax - 0x129]
cmp ecx, 0x5c
jne 0x5480ed
jmp 0x5480cc
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x128], 0
lea eax, [ebp - 0x128]
push eax
push str._setilqs_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
sub edx, 0x1e
push edx
call fcn.005250c9
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
call fcn.00545e00
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
push eax
push 0x14
call fcn.005256ff
add esp, 8
mov dword [ebp - 0xc], 0
jmp 0x548152
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0xc], 0x14
jae 0x54817a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
movzx eax, byte [eax]
xor edx, edx
mov ecx, 0x3e
div ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
mov cl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [eax], cl
jmp 0x548140
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5481b4]
call fcn.0052640b
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005287fb
add esp, 0x520
cmp ebp, esp
call fcn.0052a55b
mov esp, ebp
pop ebp
ret
Function at 0x5487d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
lea edi, [ebp - 0x228]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x200
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0x11c]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005485c0
add esp, 0x10
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x54897a
lea eax, [ebp - 0x11c]
push eax
call fcn.00547c70
add esp, 4
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x54896a
call fcn.00547460
test eax, eax
je 0x5488e1
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x158], eax
jmp 0x548880
mov eax, dword [ebp - 0x158]
add eax, 2
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
movzx ecx, word [eax]
test ecx, ecx
je 0x5488aa
mov eax, dword [ebp - 0x158]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x5488a8
mov eax, dword [ebp - 0x158]
mov word [eax], 0
jmp 0x5488aa
jmp 0x548871
mov esi, esp
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp esi, esp
call fcn.0052a55b
mov dword [ebp - 0x134], eax
jmp 0x54895b
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x164], eax
jmp 0x5488fe
mov eax, dword [ebp - 0x164]
add eax, 1
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
movsx ecx, byte [eax]
test ecx, ecx
je 0x548926
mov eax, dword [ebp - 0x164]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x548924
mov eax, dword [ebp - 0x164]
mov byte [eax], 0
jmp 0x548926
jmp 0x5488ef
mov esi, esp
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp esi, esp
call fcn.0052a55b
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x14c]
push eax
call fcn.0052b08c
add esp, 4
cmp dword [ebp - 0x134], 0
jne 0x54897a
mov dword [ebp - 0xc], 0x200
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x5489ac]
call fcn.0052640b
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005287fb
add esp, 0x228
cmp ebp, esp
call fcn.0052a55b
mov esp, ebp
pop ebp
ret
Function at 0x5958f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0
jne 0x59591b
xor eax, eax
jmp 0x595a98
push 0x44
mov eax, dword [ebp + 8]
push eax
call fcn.00543630
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x595939
xor eax, eax
jmp 0x595a98
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595710
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595b20
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595060
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595710
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595060
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595710
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 4]
mov byte [eax + 4], dl
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005958f0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595060
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00595060
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x34], 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
and ecx, 0xfffffff7
mov edx, dword [ebp - 8]
mov word [edx + 6], cx
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x38], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0xffffffff
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.0052a55b
mov esp, ebp
pop ebp
ret
Function at 0x5c6340
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0x800
jne 0x5c6371
push 0x785d98
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00526cb7
add esp, 0xc
jmp 0x5c63b3
push 4
lea ecx, [ebp - 0x14]
push ecx
push 3
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x5c6399
xor eax, eax
jmp 0x5c645b
cmp dword [ebp - 0x244], 4
je 0x5c63b3
push 0x3d
push 0x785da0
call fcn.0052630c
test eax, eax
je 0x5c63b3
int3
call fcn.0052b186
mov ecx, dword [eax]
mov dword [ebp - 0x248], ecx
call fcn.0052b186
mov dword [eax], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x111
push 0x112
lea edx, [ebp - 0x240]
push edx
call fcn.00522e2d
add esp, 0x18
mov dword [ebp - 4], eax
call fcn.0052b186
cmp dword [eax], 0
je 0x5c640f
call fcn.0052b186
mov eax, dword [eax]
push eax
call fcn.00528201
add esp, 4
jmp 0x5c641c
call fcn.0052b186
mov ecx, dword [ebp - 0x248]
mov dword [eax], ecx
xor edx, edx
jne 0x5c63b3
cmp dword [ebp - 4], 0xffffffff
je 0x5c642f
cmp dword [ebp - 4], 0x112
jb 0x5c6448
xor eax, eax
jne 0x5c6444
push 0x44
push 0x785dd8
call fcn.0052630c
test eax, eax
je 0x5c6444
int3
xor eax, eax
jmp 0x5c645b
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005287fb
mov esp, ebp
pop ebp
ret
Function at 0x5d3e40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76bc30
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 1
mov ecx, dword [ebp - 0x250]
call fcn.00524476
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x5d3ee7
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.0052878d
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x5d3ee5
push 0
push 0
push 0xfffffffffffffffc
push 0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x14]
call eax
jmp 0x5d3ea0
mov ecx, dword [ebp - 0x250]
cmp dword [ecx + 0x54], 0
je 0x5d40a5
mov edx, dword [ebp - 0x250]
xor eax, eax
cmp dword [edx + 0x68], 0
setne al
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x5d3f29
push 0x8f
push 0x78cb04
call fcn.0052630c
test eax, eax
je 0x5d3f29
int3
cmp dword [ebp - 0x248], 0
jne 0x5d3f37
call fcn.005241e2
xor edx, edx
jne 0x5d3ef7
push str.Software_
lea ecx, [ebp - 0x23c]
call fcn.00529377
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax + 0x54]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00526807
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x68]
push eax
push 0x78cb50
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.00526334
add esp, 0xc
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.00526334
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.005257e5
lea eax, [ebp - 0x240]
push eax
push SysReAllocString
mov ecx, dword [ebp - 0x250]
call fcn.0052bd02
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00521578
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x5d4051
push 0x104
lea edx, [ebp - 0x224]
push edx
push 0
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x5d4044
lea ecx, [ebp - 0x23c]
push ecx
push SysReAllocString
mov ecx, dword [ebp - 0x250]
call fcn.0052bd02
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00521578
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x5d4084
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.005257e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.005257e5
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005287fb
mov esp, ebp
pop ebp
ret
Function at 0x5d7300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x58], 0
je 0x5d7353
call fcn.0052998f
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5d7366
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x5d73f2
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 2]
cmp edx, 0xffff
jne 0x5d73ab
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0x12]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x18], dx
jmp 0x5d73c1
mov eax, dword [ebp - 8]
mov cx, word [eax + 0xa]
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 8]
mov ax, word [edx + 0xc]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
jne 0x5d73e5
movsx edx, word [ebp - 0x1c]
test edx, edx
jne 0x5d73e5
movsx eax, word [ebp - 0x18]
test eax, eax
jne 0x5d73e5
mov dword [ebp - 0x28], 1
jmp 0x5d73ec
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x58], 0
jne 0x5d7404
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x5d740d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00524b33
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x58], 0
je 0x5d7420
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret