joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d670
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x18]
push ebx
push ebp
push esi
push edi
xor esi, esi
push ecx
mov dword [esp + 0x14], esi
xor edi, edi
xor ebp, ebp
call fcn.00436340
mov ebx, eax
mov edx, dword [ebx + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0043a730
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
add esp, 0xc
cmp byte [edx + 9], 2
jne 0x43d773
push ebx
call fcn.00436210
add esp, 4
test eax, eax
je 0x43d6d9
lea ecx, [ecx]
cmp byte [eax + 9], 2
jne 0x43d6d9
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x43d6d9
mov eax, dword [eax + 0x2c]
add ebp, 1
test eax, eax
jne 0x43d6c0
push ebp
push str.BuildFVLIBRELEASE_FWLIBFV_
lea edx, [esp + 0x18]
push str._sFV__d.Fv
push edx
call fcn.0043a730
mov ebp, dword [esp + 0x20]
push 0x4ae9b8
push ebp
call fcn.0047a909
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43d743
push 2
push 0
push esi
call fcn.0047985d
push esi
call fcn.00479ab3
push 0
push 0
push esi
mov ebx, eax
call fcn.0047985d
lea eax, [ebx + 1]
push eax
call fcn.00476994
add esp, 0x20
mov edi, eax
test edi, edi
push esi
jne 0x43d74e
call fcn.00478828
push ebp
call fcn.00478435
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
push 1
push ebx
push edi
call fcn.00479dbd
add esp, 0x10
cmp eax, 1
jne 0x43d777
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
push ebx
push edi
push edx
call fcn.004765e0
add esp, 0xc
jmp 0x43d777
mov ebp, dword [esp + 0x10]
push esi
call fcn.00478828
push ebp
call fcn.00478435
push edi
call fcn.00478435
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4428a0
Capabilities:
Clear file content
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x114
mov eax, dword [0x4cb598]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
push 0x103
mov edi, ecx
lea ecx, [esp + 0x1d]
push 0
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov byte [esp + 0x24], 0
call fcn.004762a0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x442923
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00475cba
add esp, 0x114
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x442905
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x10], eax
je 0x442905
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
mov eax, ebx
mov ecx, ebx
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x442950
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x442964
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x442982
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x442996
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x80
push 2
push 0
push 0
mov ecx, eax
push 0xc0000000
lea edx, [esp + 0x30]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x442905
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x442a29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00475cba
add esp, 0x114
ret
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00475cba
add esp, 0x114
ret
Function at 0x442fe0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
mov eax, dword [0x4cb598]
xor eax, esp
mov dword [esp + 0x34c], eax
push ebx
push esi
mov esi, dword [esp + 0x35c]
lea edx, [esp + 0x250]
push edi
mov dword [esp + 0xc], esi
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x443010
lea eax, [esp + 0x254]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x443026
mov cx, word [0x4b0800]
mov dl, byte [0x4b0802]
mov word [eax], cx
mov byte [eax + 2], dl
lea edx, [esp + 0x150]
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x443050
lea edi, [esp + 0x150]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x443066
mov ax, word [0x4a8c48]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x258]
push edx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x4431c1
lea esp, [esp]
mov cl, byte [esp + eax + 0x150]
mov byte [esp + eax + 0x254], cl
add eax, 1
test cl, cl
jne 0x4430a0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4431a0
lea ecx, [esp + 0x40]
push ecx
call fcn.00448c20
add esp, 4
test eax, eax
jne 0x4430c0
lea eax, [esp + 0x40]
mov edx, eax
jmp 0x4430f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4430f0
lea edi, [esp + 0x154]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x443105
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x14], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x44316e
lea edx, [esp + 0x154]
push edx
call fcn.00442fe0
add esp, 4
test eax, eax
je 0x4431ab
lea eax, [esp + 0x154]
push eax
call ebp
xor eax, eax
jmp 0x443150
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
add eax, 1
test cl, cl
jne 0x443150
mov esi, dword [esp + 0x10]
jmp 0x4430c0
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4431ab
xor eax, eax
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
add eax, 1
test cl, cl
jne 0x443182
mov esi, dword [esp + 0x10]
jmp 0x4430c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x4431b6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4431c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call ebp
pop ebp
mov ecx, dword [esp + 0x358]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00475cba
add esp, 0x350
ret
Function at 0x4436e0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x4436ee
mov eax, SysReAllocStringLen
ret
movzx ecx, word [eax]
cmp cx, 0x5a56
jne 0x443722
movzx ecx, word [eax + 6]
mov edx, dword [eax + 8]
sub edx, ecx
mov ecx, dword [esp + 8]
add edx, 0x28
mov dword [ecx], edx
movzx edx, word [eax + 6]
mov ecx, dword [eax + 0xc]
sub ecx, edx
mov edx, dword [esp + 0xc]
add ecx, 0x28
mov dword [edx], ecx
mov cx, word [eax + 2]
jmp 0x443778
cmp cx, 0x5a4d
je 0x443740
movzx edx, cx
push edx
push str.ERROR:_Unknown_magic_number_in_the_DOS_header__0x_04X._n
call fcn.0047825b
add esp, 8
mov eax, SysReAllocStringLen
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
je 0x443762
push eax
push str.ERROR:_Unrecognized_image_signature_0x_08X._n
call fcn.0047825b
add esp, 8
mov eax, SysReAllocStringLen
ret
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov eax, dword [esp + 0x10]
mov word [eax], cx
movzx eax, cx
cmp ax, 0x14c
je 0x4437b3
cmp ax, 0x200
je 0x4437b3
cmp ax, 0x1c2
je 0x4437b3
cmp ax, 0xaa64
je 0x4437b3
cmp ax, 0x8664
je 0x4437b3
push str.ERROR:_Unrecognized_machine_type_in_the_PE32_file._n
call fcn.0047825b
add esp, 4
mov eax, SysReAllocStringLen
ret
xor eax, eax
ret

Function at 0x444910
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x44491e
mov eax, SysReAllocStringLen
ret
movzx ecx, word [eax]
cmp cx, 0x5a56
jne 0x444952
movzx ecx, word [eax + 6]
mov edx, dword [eax + 8]
sub edx, ecx
mov ecx, dword [esp + 8]
add edx, 0x28
mov dword [ecx], edx
movzx edx, word [eax + 6]
mov ecx, dword [eax + 0xc]
sub ecx, edx
mov edx, dword [esp + 0xc]
add ecx, 0x28
mov dword [edx], ecx
mov cx, word [eax + 2]
jmp 0x4449a8
cmp cx, 0x5a4d
je 0x444970
movzx edx, cx
push edx
push str.ERROR:_Unknown_magic_number_in_the_DOS_header__0x_04X._n
call fcn.0047825b
add esp, 8
mov eax, SysReAllocStringLen
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
je 0x444992
push eax
push str.ERROR:_Unrecognized_image_signature_0x_08X._n
call fcn.0047825b
add esp, 8
mov eax, SysReAllocStringLen
ret
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0xc]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov eax, dword [esp + 0x10]
mov word [eax], cx
movzx eax, cx
cmp ax, 0x14c
je 0x4449d7
cmp ax, 0x200
je 0x4449d7
cmp ax, 0x8664
je 0x4449d7
push str.ERROR:_Unrecognized_machine_type_in_the_PE32_file._n
call fcn.0047825b
add esp, 4
mov eax, SysReAllocStringLen
ret
xor eax, eax
ret
Function at 0x448930
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
Function at 0x4495c0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x48
mov eax, dword [0x4cb598]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [esi + 0x24]
push ebp
mov ebp, dword [esp + 0x50]
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x20]
lea ecx, [esp + 8]
push ecx
push 0
push edx
mov byte [esi + 0x59], 0
mov dword [esp + 0x14], 0x40
call eax
add esp, 0x10
test eax, eax
jge 0x449612
mov dword [esi + 0x4c], 1
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00475cba
add esp, 0x48
ret
cmp word [esp + 8], 0x5a4d
mov dword [esi + 0x30], 0
jne 0x449629
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x30], ecx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x24]
add eax, edx
mov dword [edi], eax
cmp dword [eax], 0x4550
je 0x44965e
mov dword [ebp], eax
cmp word [eax], 0x5a56
je 0x44965a
mov eax, SysReAllocStringLen
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00475cba
add esp, 0x48
ret
mov byte [esi + 0x59], 1
mov ecx, dword [esp + 0x48]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00475cba
add esp, 0x48
ret
Function at 0x44a8d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push 0x4a8cb0
push eax
call fcn.00478a96
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x44a8f0
mov eax, 0xd009
pop ebx
ret
push esi
push edi
push ebx
call fcn.004789a3
push eax
call fcn.004788a4
mov edi, eax
push edi
call fcn.00476994
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44a918
pop edi
pop esi
mov eax, 0xa000
pop ebx
ret
push edi
push 0
push esi
call fcn.004762a0
push ebx
push 1
push edi
push esi
call fcn.00479dbd
push ebx
call fcn.00478828
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
push edi
push esi
push edx
call fcn.00434c20
push esi
mov edi, eax
call fcn.00478435
add esp, 0x34
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x44b160
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 4]
push ebx
push ebp
movzx ebp, word [eax]
push esi
push edi
push 0x4ae9b8
push ecx
call fcn.0047a909
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b18d
mov eax, 0xd009
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.004789a3
push eax
call fcn.004788a4
mov ebx, eax
push ebx
call fcn.00476994
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44b24b
push ebx
push 0
push edi
call fcn.004762a0
push esi
push 1
push ebx
push edi
call fcn.00479dbd
push esi
call fcn.00478828
add esp, 0x20
cmp ebx, 0x18
jae 0x44b1e2
push edi
call fcn.00478435
add esp, 4
mov eax, 0xd00a
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + 0x14]
push edx
call fcn.00439d80
add esp, 4
cmp eax, 0x18
jb 0x44b1cf
movzx eax, bp
push eax
call fcn.004363e0
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.0044a9b0
mov edx, dword [esp + 0x28]
mov ebp, eax
push edx
push ebp
call fcn.0044aa20
add esp, 0x14
test eax, eax
mov dword [esp + 0x14], eax
jne 0x44b232
push edi
call fcn.00478435
add esp, 4
mov eax, 0xd002
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x18
call fcn.00476994
mov esi, eax
add esp, 4
test esi, esi
jne 0x44b255
push edi
call fcn.00478435
add esp, 4
mov eax, 0xa000
pop edi
pop esi
pop ebp
pop ebx
ret
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x1c]
push esi
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
push eax
push ebp
mov dword [esi + 0x14], edx
call fcn.0044a960
add esp, 0xc
test eax, eax
je 0x44b2b6
push edi
call fcn.00478435
push esi
call fcn.00478435
add esp, 8
mov eax, 0xc008
pop edi
pop esi
pop ebp
pop ebx
ret
movzx edx, byte [esi + 0x13]
movzx eax, byte [esi + 0x12]
add ebx, 0xffffffe8
push ebx
lea ecx, [edi + 0x18]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x34]
push eax
call fcn.0043edc0
push esi
mov ebx, eax
call fcn.00478435
push edi
call fcn.00478435
add esp, 0x2c
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x44cadc
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 ebx, ebx
call fcn.004545e9
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44cb13
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044c6ee
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 0x44cb6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x44cb8b
cmp dword [edi + 0x54], 0
jne 0x44cb8b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004545e9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044cb32
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x450b1e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x450b57
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041736f
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00405521
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x452872
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4528b5
call fcn.004545e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4528b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4528d0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045242c
test ebx, ebx
mov esi, eax
je 0x4528ce
test edi, edi
je 0x4528ce
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4532f6
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a2a97
call fcn.00475cc9
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45331b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x453367
call fcn.0044bc9f
push eax
lea ecx, [ebp - 0x10]
call fcn.0044be7a
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046002a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010ea
mov eax, esi
call fcn.00475d68
ret 8

Function at 0x455a4f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4cb598]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x455a8c
push 0x4b2898
push 4
push eax
call fcn.0047c20f
push eax
call section..text
add esp, 0x10
jmp 0x455a9e
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x455b09
push edi
call fcn.0047c2b6
mov edi, dword [eax]
call fcn.0047c2b6
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004796e6
add esp, 0x18
mov ebx, eax
call fcn.0047c2b6
cmp dword [eax], 0
je 0x455ae9
call fcn.0047c2b6
push dword [eax]
call fcn.0044b6b4
pop ecx
jmp 0x455af0
call fcn.0047c2b6
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x455b09
cmp ebx, esi
jae 0x455b09
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x455b0b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00475cba
leave
ret
Function at 0x45b2b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x45b2cf
mov edi, dword [esi + 0xc]
jmp 0x45b30f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45b2e8
call fcn.00462f27
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x45b2fd
call fcn.00462f27
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x45b30f
call fcn.00462f27
call fcn.004545e9
cmp dword [eax + 0x3c], 0
je 0x45b324
push edi
mov ecx, ebx
call fcn.0045a16c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0045b1d3
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x45b342
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x45b34e
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x467077
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.004545e9
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4670a2
xor eax, eax
jmp 0x467146
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x46709b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46709b
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b31c
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x4670f7
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x4670e6
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00465ed3
push edi
mov ebx, eax
call fcn.0044b34c
test ebx, ebx
pop ecx
je 0x467139
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00466560
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00466612
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4