joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4892b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6c24b8]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4892d0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret
lea esi, [ebx + 0x16828]
push ebx
push esi
call fcn.004869a0
xor ebp, ebp
push ebx
mov bp, word [esi]
push esi
inc ebp
xor edi, edi
call fcn.004869a0
xor eax, eax
mov edx, dword [esp + 0x28]
mov ax, word [esi]
add esp, 0x10
mov ecx, eax
shr eax, 4
and ecx, 0xf
and eax, 0xf
inc ecx
inc eax
cmp eax, edx
ja 0x489341
mov edx, dword [esp + 0x14]
lea edx, [edx + edi*4]
mov dword [edx], ecx
inc edi
add edx, 4
dec eax
jne 0x489310
dec ebp
je 0x48934b
push ebx
push esi
call fcn.004869a0
xor eax, eax
add esp, 8
mov ax, word [esi]
mov ecx, eax
shr eax, 4
and ecx, 0xf
and eax, 0xf
inc ecx
inc eax
lea edx, [eax + edi]
cmp edx, dword [esp + 0x18]
jbe 0x489309
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret
mov esi, dword [esp + 0x18]
mov eax, edi
sub eax, esi
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 4
pop ebx
ret
Function at 0x48b2e0
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x6c24b8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x48b3bd
mov eax, 0xfffe97cc
push ebx
push ebp
sub eax, esi
push edi
mov ebp, 0x3fc0
lea edi, [esi + 0x16933]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x14fa0], 6
jge 0x48b323
push esi
call fcn.00486930
add esp, 4
mov cl, byte [esi + 0x14f9c]
mov bl, byte [0x683514]
and cl, bl
xor ebx, ebx
mov byte [edi], cl
mov edx, dword [esi + 0x14f9c]
mov ecx, dword [esi + 0x14fa0]
shr edx, 6
add ecx, 0xfffffffa
mov dword [esi + 0x14f9c], edx
mov dword [esi + 0x14fa0], ecx
mov al, byte [edi]
test al, al
jbe 0x48b3a8
cmp dword [esi + 0x14fa0], 8
jge 0x48b36b
push esi
call fcn.00486930
add esp, 4
mov dl, byte [esi + 0x14f9c]
mov al, byte [0x683518]
and dl, al
mov eax, dword [esi + 0x16830]
add eax, ebp
mov byte [eax + ebx], dl
mov eax, dword [esi + 0x14f9c]
mov edx, dword [esi + 0x14fa0]
shr eax, 8
add edx, 0xfffffff8
mov dword [esi + 0x14f9c], eax
mov dword [esi + 0x14fa0], edx
mov al, byte [edi]
inc ebx
cmp bl, al
jb 0x48b359
mov ecx, dword [esp + 0x10]
dec edi
add ecx, edi
sub ebp, 0x40
test ecx, ecx
jge 0x48b311
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x48b9f4
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48bab4
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48baa3
cmp dword [ebp - 0x110], 2
mov byte [ebp - 5], bl
lea eax, [ebp - 0x108]
jne 0x48ba94
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x48baa3
push eax
push edi
push esi
call fcn.0048bb26
xor ebx, ebx
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x48bab6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005bc16b
leave
ret

Function at 0x48fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df325
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x24]
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00490930
mov dword [esi], eax
mov byte [ebp - 4], 7
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 8
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [ebp - 4], 0xa
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x499650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, edi
mov ebx, ecx
or eax, 0xffffffff
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x499663
sub edx, esi
sar edx, 1
xor esi, esi
test edx, edx
jle 0x49969d
jmp 0x499680
movzx ecx, word [edi + esi*2]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x6b2320]
inc esi
not eax
cmp esi, edx
jl 0x499680
mov esi, dword [ebp + 0xc]
push eax
push str._08lX
push esi
call fcn.005be431
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4996bd
push esi
mov ecx, ebx
call fcn.00499550
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x49e60b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6bd008]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x49e657
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49e674
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6bd008], eax
jmp 0x49e660
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x49e674
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x49e6e1
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x49e68f
xor eax, eax
jmp 0x49e6e1
lea eax, [ebp - 0x210]
push eax
call fcn.005c2825
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x49e6c0
push 0x63eebc
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005c2c65
add esp, 0xc
test eax, eax
jne 0x49e68b
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005c2c65
add esp, 0xc
test eax, eax
jne 0x49e68b
lea eax, [ebp - 0x210]
push eax
call fcn.004a32de
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005bc16b
leave
ret

Function at 0x49eea3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x49eee8
call fcn.004a368b
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49eee8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x49ef04
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004b37ca
mov ebx, eax
test edi, edi
je 0x49ef02
test esi, esi
je 0x49ef02
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4a54dd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ecabe
call fcn.005c292e
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x4a5503
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4a5557
call fcn.004a4516
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c00
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.005c283e
push eax
call fcn.00401cd0
add esp, 0x14
test edi, edi
je 0x4a554a
push edi
call fcn.005c2825
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004022c0
mov eax, esi
call fcn.005c28fc
ret 8

Function at 0x4a80bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4a8109
call fcn.004a368b
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a8106
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4a8142
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test edi, edi
je 0x4a812b
push dword [ebp + 0x10]
mov edx, dword [eax]
push edi
push dword [ebp + 8]
mov ecx, eax
call dword [edx + 0x20]
mov ebx, eax
test esi, esi
je 0x4a812b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x4a8140
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0xa0]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4a88da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004a368b
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a8911
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004a8930
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4ae2df
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5e12ad
call fcn.005c292e
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004ae3c0
and dword [ebp - 4], 0
mov dword [ebx], vtable.CHttpConnection.0
call fcn.004a4516
push eax
lea ecx, [ebx + 0x18]
call fcn.00401c00
push dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 1
call fcn.00402150
push dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x4ae355
push eax
push dword [ebx + 8]
call fcn.004ae879
push dword [ebx + 0xc]
mov ecx, 0x6bd2e0
push eax
call fcn.004af259
mov eax, ebx
call fcn.005c28fc
ret 0x18

Function at 0x4ae4c6
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4ae4ef
call fcn.004a368b
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x4ae51c
push esi
push eax
mov ecx, 0x6bd2e0
call fcn.004af259
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.004ae879
int3

Function at 0x4afb72
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x4afbae
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4afbbc
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4afbbc
push dword [esi]
push 2
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4afbbe
cmp dword [esi + 4], edi
je 0x4afbbc
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4b8d35
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x6bd3fc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x4b8d8e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b8dab
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6bd3fc], eax
jmp 0x4b8d97
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4b8dab
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x4b8ee8
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.005dd972
lea eax, [ebp - 0x14]
push eax
call fcn.005c2825
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.005c2cdd
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.005dd972
lea eax, [ebp - 0x14]
push eax
call fcn.005c2825
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.005c2cdd
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.005dd972
lea eax, [ebp - 0x14]
push eax
call fcn.005c2825
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.005c2cdd
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.005dd972
lea eax, [ebp - 0x14]
push eax
call fcn.005c2825
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.005c2cdd
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.005dd972
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.005c2825
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.005c2cdd
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bc16b
leave
ret
Function at 0x4cb64a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.004a515c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4cb686
call fcn.004cb865
mov dword [esi + 0xc], 1
jmp 0x4cb68b
call fcn.004cb865
cmp dword [esi], 0
je 0x4cb6d4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4cb6ae
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004127d0
jmp 0x4cb6bf
push 0xff
mov ecx, esi
call fcn.00402000
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00410100
jmp 0x4cb6f8
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4cb6f8
push dword [esi]
push dword [ebp - 4]
call fcn.004b6aa3
pop esi
leave
ret 0xc

Function at 0x4cb7bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004cb865
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4cb804
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004127d0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00410100
jmp 0x4cb80f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004b6aa3
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4e94c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4e94dc
call fcn.004a368b
mov esi, dword [eax + 0xc]
push 0x613174
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4e9532
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4e9531
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4e9512
xor esi, esi
jmp 0x4e9528
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.004e9538
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5a4d25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x5a4d3f
mov edi, dword [esi + 0xc]
jmp 0x5a4d7f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5a4d58
call fcn.004ad37e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5a4d6d
call fcn.004ad37e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5a4d7f
call fcn.004ad37e
call fcn.004a368b
cmp dword [eax + 0x3c], 0
je 0x5a4d94
push edi
mov ecx, ebx
call fcn.005a4641
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005a4f57
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x5a4db7
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x5a4dc0
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x5d0477
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005c7651
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x5d04af
xor eax, eax
jmp 0x5d04db
cmp esi, dword [ebp - 4]
je 0x5d04d8
cmp dword [ebp + 0xc], 0
je 0x5d04d8
push dword [edi + 0x9c]
call fcn.005d0085
push dword [edi + 0x9c]
mov esi, eax
call fcn.005c2825
pop ecx
pop ecx
cmp esi, eax
je 0x5d04ab
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x5d7a48
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.005c8263
mov dword [ebp - 0x14], eax
cmp dword [0x6c1b64], edi
jne 0x5d7b39
push 0x800
push edi
push 0x637390
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x5d7ac6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5d7c19
push 0x637390
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x5d7c19
push 0x6373a8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5d7c19
push eax
call ebx
push 0x6373b4
push esi
mov dword [0x6c1b64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6373c4
push esi
mov dword [0x6c1b68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x6c1b6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6c1b74], eax
test eax, eax
je 0x5d7b36
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6c1b70], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5d7b5e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5d7b51
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x5d7b73
push 4
pop eax
jmp 0x5d7c1b
cmp dword [ebp - 0x14], edi
je 0x5d7b73
push dword [0x6c1b64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5d7b58
mov eax, dword [0x6c1b70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x5d7bd1
cmp dword [0x6c1b74], esi
je 0x5d7bd1
push eax
call ebx
push dword [0x6c1b74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5d7bd1
test eax, eax
je 0x5d7bd1
call ecx
test eax, eax
je 0x5d7bc6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5d7bc6
test byte [ebp - 8], 1
jne 0x5d7bd1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x5d7c01
mov eax, dword [0x6c1b68]
cmp eax, esi
je 0x5d7bfe
push eax
call ebx
test eax, eax
je 0x5d7bfe
call eax
mov edi, eax
test edi, edi
je 0x5d7bfe
mov eax, dword [0x6c1b6c]
cmp eax, esi
je 0x5d7bfe
push eax
call ebx
test eax, eax
je 0x5d7bfe
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6c1b64]
call ebx
test eax, eax
je 0x5d7c19
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x5d7c1b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bc16b
leave
ret
Function at 0x7207e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x720805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x720878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x72083a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x72086d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x72086b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x720831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x7207fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret