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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x100275e4
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [edi], 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1000fdf0
mov ebx, eax
mov dword [ebp + 0xc], ebx
pop ecx
pop ecx
test ebx, ebx
jne 0x100066cb
mov dword [edi], 2
mov eax, edi
jmp 0x10006725
push 2
push esi
push ebx
call fcn.10012556
push ebx
call fcn.10012b4f
push 0
push 0
push ebx
mov esi, eax
call fcn.10012556
push esi
call fcn.1000fc4c
push dword [ebp + 0xc]
mov ebx, eax
push esi
push 1
push ebx
call fcn.100121d1
push dword [ebp + 0xc]
call fcn.10011f5a
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
add esp, 0x34
push esi
push ebx
push eax
call sym.utilities.dll_public:_struct_pugi::xml_parse_result___thiscall_pugi::xml_document::load_bin_char_const___int_
mov esi, eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000fc47
mov eax, dword [ebp + 8]
pop ecx
and dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000672e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x100275e8
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [edi], 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1000fdd9
mov ebx, eax
mov dword [ebp + 0xc], ebx
pop ecx
pop ecx
test ebx, ebx
jne 0x1000676d
mov dword [edi], 2
mov eax, edi
jmp 0x100067c7
push 2
push esi
push ebx
call fcn.10012556
push ebx
call fcn.10012b4f
push 0
push 0
push ebx
mov esi, eax
call fcn.10012556
push esi
call fcn.1000fc4c
push dword [ebp + 0xc]
mov ebx, eax
push esi
push 1
push ebx
call fcn.100121d1
push dword [ebp + 0xc]
call fcn.10011f5a
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
add esp, 0x34
push esi
push ebx
push eax
call sym.utilities.dll_public:_struct_pugi::xml_parse_result___thiscall_pugi::xml_document::load_bin_char_const___int_
mov esi, eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000fc47
mov eax, dword [ebp + 8]
pop ecx
and dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10006983
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x100069a6
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x10006a43
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.10005e45
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100069c9
push ebx
call fcn.10011f5a
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x10006a1f
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [section..data]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x100069f4
call fcn.10011f5a
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x10006a1f
push esi
push 1
push eax
call fcn.100121d1
push ebx
mov esi, eax
call fcn.10011f5a
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x10006a28
push dword [ebp - 4]
call dword [0x10036004]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x10006a42
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call sym.utilities.dll_public:_struct_pugi::xml_parse_result___thiscall_pugi::xml_document::load_buffer_inplace_own_void___unsigned_int__unsigned_int__enum_pugi::xml_encoding_
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001d25e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001d0dd

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4066c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4066db
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406712
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40670e
jmp 0x406700
cmp esi, eax
jae 0x406712
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406700
cmp esi, eax
jb 0x406719
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40cc00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov cl, byte [edx]
or eax, 0xffffffff
test cl, cl
je 0x40cca4
lea ecx, [ecx]
movzx ecx, cl
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x40cc10
not eax
ret
Function at 0x421050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7840
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x65bde0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea eax, [esi + 0x14]
mov dword [edi + 0xc], edx
push eax
lea ecx, [ebp - 0x10]
mov dword [edi + 0x10], ebx
call fcn.00406ae0
push eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 0
call fcn.00408a60
or ebx, 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea ecx, [esi + 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 1
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea edx, [esi + 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 2
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x20]
mov dword [ebp - 4], 3
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea ecx, [esi + 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 4
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea edx, [esi + 0x28]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 5
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x2c]
mov dword [ebp - 4], 6
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea ecx, [esi + 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 7
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea edx, [esi + 0x34]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 4], 8
call fcn.00408a60
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a260
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406ae0
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 9
call fcn.00408a60
lea ecx, [ebp - 0x14]
call fcn.0040a260
mov cl, byte [esi]
mov byte [edi], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ad60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x673e9c], eax
mov edx, 1
mov ecx, 0x673ea0
push esi
mov esi, eax
shr esi, 0x1e
xor eax, esi
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x67485c
jl 0x43ad70
mov dword [0x673e98], 0x270
pop esi
ret

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

Disassembly:
mov ecx, 0x67485c
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, 0x7fffffff
xor eax, dword [ecx]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx + 0x634]
shr eax, 1
xor edx, eax
mov dword [ecx - 0x9c0], edx
add ecx, 4
cmp ecx, 0x674be8
jl 0x43af35
mov ecx, 0x674be8
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, 0x7fffffff
xor eax, dword [ecx]
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [ecx - 0xd4c]
shr eax, 1
xor edx, eax
mov dword [ecx - 0x9c0], edx
add ecx, 4
cmp ecx, 0x675218
jl 0x43af73
mov ecx, dword [0x675218]
mov eax, ecx
xor eax, dword [0x673e9c]
mov dword [0x673e98], 0
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
and cl, 1
movzx edx, cl
neg edx
sbb edx, edx
and edx, 0x9908b0df
shr eax, 1
xor edx, eax
xor edx, dword [0x6744cc]
mov dword [0x674858], edx
ret

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

Disassembly:
push esi
mov eax, 0x6744d0
push edi
jmp 0x43b000
mov esi, dword [eax - 0x630]
mov ecx, dword [eax - 0x634]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, dword [eax - 0x634]
mov edi, dword [eax - 0x62c]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
shr ecx, 1
xor edx, ecx
xor edx, dword [eax]
mov ecx, edi
mov dword [eax + 0x38c], edx
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
mov esi, dword [eax - 0x628]
and edx, 0x9908b0df
xor edx, dword [eax + 4]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x390], edx
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov edi, dword [eax - 0x624]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 8]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x394], edx
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov esi, dword [eax - 0x620]
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0xc]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x398], edx
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0x10]
shr ecx, 1
xor edx, ecx
mov ecx, dword [eax - 0x61c]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov dword [eax + 0x39c], edx
mov edx, ecx
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [eax + 0x14]
shr ecx, 1
xor edx, ecx
mov dword [eax + 0x3a0], edx
add eax, 0x18
cmp eax, 0x674e90
jl 0x43b000
pop edi
pop esi
ret
Function at 0x43c580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2fb6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x65bde0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
lea eax, [edi + 0x10]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
call fcn.0043d250
mov dword [ebp - 4], ebx
mov byte [edi + 0x24], bl
lea eax, [edi + 0x34]
mov esi, 0x616670
mov byte [edi + 0x25], bl
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], bl
call fcn.00406680
mov esi, edi
mov byte [ebp - 4], 1
call fcn.0043cbc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43d760
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], 0x61d418
call fcn.005b6e50
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
ret
Function at 0x4a83f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4a83f7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4a84cd
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x619598]
add ecx, 8
sub edx, 8
dec esi
jne 0x4a8410
pop edi
test edx, edx
je 0x4a84ea
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x619598]
inc ecx
dec edx
jne 0x4a84d1
not eax
pop esi
ret

Function at 0x4a84f0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x619598]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x619598]
mov dword [edx + 8], ecx
ret
Function at 0x4ac4e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df188
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65bde0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 1
mov eax, edi
mov byte [ebp - 0x2d], 0
call fcn.004abb60
push eax
mov edx, 0x62bfb4
lea ecx, [ebp - 0x34]
call fcn.004194f0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004199f0
sub esp, 0x1c
mov esi, eax
mov eax, esp
mov dword [ebp - 0x40], esp
call fcn.00406680
mov ecx, edi
mov esi, ebx
call fcn.004ab920
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a260
cmp byte [ebx], 0
je 0x4ac63b
mov edx, 0x62bf14
lea ecx, [ebp - 0x34]
call fcn.004194f0
mov esi, eax
mov dword [ebp - 4], edi
push 0
lea edi, [ebp - 0x2c]
call fcn.004abb80
add esp, 4
mov edi, eax
push 0x4883000
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004199f0
push eax
push 0x62263c
mov eax, edi
call fcn.00408940
push eax
mov eax, dword [ebx + 8]
push eax
call fcn.0042d980
add esp, 0x14
lea edi, [ebp - 0x2c]
mov esi, eax
call fcn.004060e0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a260
test esi, esi
je 0x4ac632
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x38]
push edx
mov edi, 4
push esi
mov dword [ebp - 0x44], edi
call fcn.0042d9f0
or dword [ebp - 0x38], 0x180
lea eax, [ebp - 0x38]
push eax
push 0x1f
push esi
call fcn.0042d8b0
push 0
push 0
push 0
push 0
push esi
call fcn.0042d840
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0x20000013
push esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], edi
call fcn.0042d050
add esp, 0x3c
cmp dword [ebp - 0x3c], 0xc8
jne 0x4ac632
mov byte [ebp - 0x2d], 1
push esi
call fcn.0042d0c0
add esp, 4
mov esi, ebx
call fcn.004ab9e0
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b3023
mov esp, ebp
pop ebp
ret
Function at 0x4b5d8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004bfdc6
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 0x4b5dc8
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.004b59cc
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 0x4b5e26
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4b5e4a
cmp dword [edi + 0x74], 0
jne 0x4b5e4a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004bfdc6
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 [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004b5de7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4bdd5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4bdda3
call fcn.004bfdc6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4bdda3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4bddbf
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004bd85c
mov esi, eax
test edi, edi
je 0x4bddbd
test ebx, ebx
je 0x4bddbd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4bec4f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5ccfb7
call fcn.005b6c2f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4bec74
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4becc6
call fcn.004b4594
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d7b0
mov ecx, dword [esi + 0x6c]
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.005b3a9b
push eax
call fcn.004067a0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403a20
mov eax, esi
call fcn.005b6d07
ret 8
Function at 0x4c01a5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004bfe49
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c01ef
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00497ae0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408300
jmp 0x4c01fa
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004c8d27
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4c0200
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004be541
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c023d
call fcn.004bfe49
mov dword [esi + 0xc], 1
jmp 0x4c0242
call fcn.004bfe49
cmp dword [esi], 0
je 0x4c028b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4c0263
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00497ae0
jmp 0x4c0275
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00403900
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00408300
jmp 0x4c02af
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c02af
push dword [esi]
push dword [ebp + 8]
call fcn.004c8d27
pop esi
pop ebp
ret 0xc

Function at 0x4c308b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x65bde0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4c30d0
push 0x5ef290
push 4
push eax
call fcn.005b424f
push eax
call fcn.004067a0
add esp, 0x10
jmp 0x4c30e6
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c3166
push edi
call fcn.005b6dc7
mov edi, dword [eax]
call fcn.005b6dc7
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005b4b4a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005b6dc7
cmp dword [eax], 0
je 0x4c313a
call fcn.005b6dc7
push dword [eax]
call fcn.004b4c5e
pop ecx
jmp 0x4c3141
call fcn.005b6dc7
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4c3166
cmp dword [ebp - 0x234], esi
jae 0x4c3166
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4c3168
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b3023
leave
ret