joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415540
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x45ff18
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x400
xor ebx, ebx
push ebx
push 0x480e00
call fcn.00445a00
add esp, 0xc
push ebx
push 0x4153f0
mov byte [0x481231], bl
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, 0x480e00
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4155b0
sub eax, edx
push eax
push 0x480e00
lea ecx, [esp + 0x14]
call fcn.004017f0
lea ecx, [esp + 0xc]
lea esi, [esp + 0x28]
mov dword [esp + 0x50], ebx
call fcn.004010d0
mov esi, 0x10
cmp dword [esp + 0x24], esi
jb 0x4155f3
mov eax, dword [esp + 0x10]
push eax
call fcn.00420ede
add esp, 4
push 0x400
push ebx
push 0x481238
call fcn.00445a00
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x40], esi
jae 0x415614
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push 0x481238
call fcn.00443ea0
mov bl, byte [0x481231]
add esp, 0xc
cmp dword [esp + 0x40], esi
jb 0x415640
mov edx, dword [esp + 0x2c]
push edx
call fcn.00420ede
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00441b4d
add esp, 0x48
ret

Function at 0x4156c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4156e7
or eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
push esi
je 0x41571b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffe
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret

Function at 0x415730
Capabilities:
Hash data using djb2

Disassembly:
xor ecx, ecx
test edx, edx
mov eax, 0x1505
jbe 0x415758
push ebx
push edi
lea ecx, [ecx]
movzx edi, byte [ecx + esi]
mov ebx, eax
shl ebx, 5
add ebx, eax
add edi, ebx
add ecx, 1
cmp ecx, edx
mov eax, edi
jb 0x415740
pop edi
pop ebx
ret
Function at 0x4161a0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
mov ebx, eax
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, ebx
add ecx, edi
adc eax, edx
cmp eax, dword [esi + 0x8c]
jl 0x4161e3
jg 0x4161cd
cmp ecx, dword [esi + 0x88]
jbe 0x4161e3
mov eax, dword [esp + 0x24]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x416204
mov ecx, dword [esp + 0x24]
mov dword [ecx], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ecx, edx
push 0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
push edx
push edi
push eax
sar ecx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call ebp
cmp edi, 0xffffffff
jne 0x416247
call ebp
test eax, eax
je 0x416247
mov eax, dword [esp + 0x24]
mov dword [eax], 0xfffffffd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push ebx
call fcn.00442a34
mov edx, dword [esi + 0x80]
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
mov ebp, eax
push ebx
push ebp
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
je 0x416298
push ebp
call fcn.00442af7
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax], 0xfffffffc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x24]
mov dword [ecx], 0
lea ebx, [esi + 0x70]
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push esi
call fcn.00418000
mov ecx, ebx
mov edi, eax
call fcn.00418040
mov dword [esi + 4], edi
mov ecx, dword [edi + 4]
mov dword [ecx], edi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x418830
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x418837
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00418840
Function at 0x418840
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x418872
lea esp, [esp]
test cl, 3
je 0x418872
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d448]
add ecx, 1
sub esi, 1
jne 0x418850
cmp esi, 0x20
push ebx
push edi
jb 0x418a5c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x46d848]
xor edx, dword [ebx*4 + 0x46dc48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x46d448]
add ecx, 4
xor edx, dword [eax*4 + 0x46e048]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x46d848]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x46dc48]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x46d448]
add ecx, 4
xor eax, dword [edx*4 + 0x46e048]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x46d848]
xor edx, dword [ebx*4 + 0x46dc48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x46d448]
xor edx, dword [eax*4 + 0x46e048]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x46d848]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x46dc48]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x46d448]
xor eax, dword [edx*4 + 0x46e048]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x46d848]
xor edx, dword [ebx*4 + 0x46dc48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x46d448]
xor edx, dword [eax*4 + 0x46e048]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x46d848]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x46dc48]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x46d448]
and edx, 0xff
xor eax, dword [edx*4 + 0x46e048]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x46d848]
xor edx, dword [ebx*4 + 0x46dc48]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x46d448]
add ecx, 4
xor edx, dword [eax*4 + 0x46e048]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x46d848]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x46dc48]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x46d448]
and edx, 0xff
xor eax, dword [edx*4 + 0x46e048]
sub edi, 1
jne 0x418882
cmp esi, 4
jb 0x418aa9
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x46d848]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x46dc48]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x46d448]
and eax, 0xff
xor edi, dword [eax*4 + 0x46e048]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x418a66
test esi, esi
pop edi
pop ebx
je 0x418acd
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46d448]
add ecx, 1
sub esi, 1
jne 0x418ab0
not eax
pop esi
ret
Function at 0x41de70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x460bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
mov edi, ecx
push edi
push esi
mov ecx, ebp
call fcn.0041ea10
cmp dword [eax], 0
mov dword [esp + 0x10], eax
jne 0x41e023
mov eax, 0x10
cmp dword [esi + 0x34], eax
mov byte [esp + 0x4c], 0
jb 0x41dedd
mov edx, dword [esi + 0x20]
jmp 0x41dee0
lea edx, [esi + 0x20]
cmp dword [ebp + 0x18], eax
lea ebx, [ebp + 4]
jb 0x41deec
mov ecx, dword [ebx]
jmp 0x41deee
mov ecx, ebx
cmp dword [edi + 0x18], eax
jb 0x41def8
mov eax, dword [edi + 4]
jmp 0x41defb
lea eax, [edi + 4]
push edx
push 0x200
lea edx, [esp + 0x54]
push edx
push 0x469d1e
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebp + 0x18], 0x10
jb 0x41df1d
mov ecx, dword [ebx]
jmp 0x41df1f
mov ecx, ebx
mov eax, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
lea ebx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41df40
sub eax, ebx
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004017f0
xor eax, eax
mov dword [esp + 0x25c], eax
cmp dword [edi + 0x18], 0x10
jb 0x41df6a
mov edx, dword [edi + 4]
jmp 0x41df6d
lea edx, [edi + 4]
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], 0
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41df83
sub eax, ebx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004017f0
lea eax, [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x54]
lea edx, [esp + 0x1c]
mov byte [esp + 0x264], 1
call fcn.0041e340
cmp dword [esp + 0x2c], 0x10
jb 0x41dfc8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
xor ebx, ebx
mov dword [esp + 0x25c], 0xffffffff
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x41dff9
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
push edi
push esi
mov ecx, ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
call fcn.0041ea10
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, ecx
cmp dword [eax], 3
je 0x41e02f
mov eax, 0x469d1e
jmp 0x41e078
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41e055
mov ecx, dword [esi + 0x14]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41e05a
call fcn.00441eb0
mov edx, dword [esi + 0x10]
lea ecx, [edi*8]
sub ecx, edi
cmp dword [edx + ecx*4 + 0x18], 0x10
lea eax, [edx + ecx*4]
jb 0x41e075
mov eax, dword [eax + 4]
jmp 0x41e078
add eax, 4
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.00441b4d
add esp, 0x250
ret 4
Function at 0x41e0b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x460b90
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
push edi
push ebp
mov ecx, esi
call fcn.0041ea10
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x5c], eax
jne 0x41e234
cmp dword [esi + 0x18], 0x10
jb 0x41e108
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
jmp 0x41e10b
lea ecx, [esi + 4]
mov eax, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x41e120
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004017f0
mov dword [esp + 0x54], ebx
cmp dword [edi + 0x18], 0x10
jb 0x41e148
mov ecx, dword [edi + 4]
add edi, 4
jmp 0x41e14d
add edi, 4
mov ecx, edi
mov eax, ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x41e162
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004017f0
mov eax, 0x10
mov byte [esp + 0x54], 1
cmp dword [ebp + 0x34], eax
jb 0x41e18c
mov edx, dword [ebp + 0x20]
jmp 0x41e18f
lea edx, [ebp + 0x20]
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x18], eax
jb 0x41e19d
mov ecx, dword [esi + 4]
jmp 0x41e1a0
lea ecx, [esi + 4]
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x18], 0x10
jb 0x41e1ae
mov eax, dword [edi]
jmp 0x41e1b0
mov eax, edi
push edx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
lea ecx, [esp + 0x3c]
call fcn.0041e700
cmp dword [esp + 0x2c], 0x10
jb 0x41e1de
mov edx, dword [esp + 0x18]
push edx
call fcn.00420ede
add esp, 4
mov edi, 0xf
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x41e20b
mov eax, dword [esp + 0x34]
push eax
call fcn.00420ede
add esp, 4
mov ecx, dword [esp + 0x60]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0041ea10
mov edx, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, ecx
cmp dword [eax], 1
je 0x41e23d
xor eax, eax
jmp 0x41e240
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0xc
Function at 0x420d40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45faeb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
xor ebp, ebp
push ebp
push 0x80
push 1
push ebp
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420d9d
or eax, eax
jmp 0x420e7d
push ebp
mov eax, 0x20
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x34], 1
mov byte [esp + 0x30], 0x67
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x6b
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0x493e0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1a524a0
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
je 0x420e01
mov eax, 0xfffffffd
jmp 0x420e7d
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov ebx, eax
mov edx, 0x5c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420ee3
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov dword [esp + 0x4c], ebp
je 0x420e3e
push fcn.004107c0
push ebx
push 0x5c
push edi
call fcn.00411830
jmp 0x420e40
xor edi, edi
mov ecx, dword [esp + 0x2c]
imul ecx, ecx, 0x5c
push ebp
lea eax, [esp + 0x18]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov ebx, eax
call fcn.00420ede
add esp, 4
cmp ebx, 1
je 0x420e6d
mov eax, 0xfffffffb
jmp 0x420e7d
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00441b4d
add esp, 0x3c
ret

Function at 0x422ccf
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]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x422cf8
call fcn.004241d0
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_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x422d1b
push eax
push dword [esi + 4]
call fcn.00422c1d
push esi
push eax
mov ecx, 0x47e2e4
call fcn.00422852
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x423631
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x45e374
call fcn.00445260
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004235f3
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004064d0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x423697
push eax
push dword [esi + 8]
call fcn.00422c1d
push dword [esi + 0xc]
mov ecx, 0x47e2e4
push eax
call fcn.00422852
mov eax, esi
call fcn.00445338
ret 0x18

Function at 0x424d4c
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x47c824]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x424de4
push 0x464074
push 4
push eax
call fcn.0044565c
push eax
call fcn.00401b60
add esp, 0x10
push ebx
push edi
call fcn.0044416b
mov edi, dword [eax]
call fcn.0044416b
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00443858
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.0044416b
cmp dword [eax], ebx
je 0x424dfb
call fcn.0044416b
push dword [eax]
call fcn.004212e5
pop ecx
jmp 0x424e02
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x424d98
jmp 0x424e74
call fcn.0044416b
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x424e70
cmp dword [ebp - 0x3c], esi
jae 0x424e70
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00445a00
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x424e62
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x424e62
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x424e62
push ebx
push ebx
push esi
jmp 0x424e68
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x424e72
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.00441b4d
add ebp, 0xe0
leave
ret
Function at 0x425a9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x425ae1
call fcn.004241d0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x425ae1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x425b24
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x425b0d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x425b0d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x425b21
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4277ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x45e6d6
call fcn.00445293
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004241d0
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4277f7
call fcn.004241d0
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x427808
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x427815
or eax, 0xffffffff
jmp 0x427971
mov ecx, esi
call fcn.004272d1
mov dword [ebp - 0x14], eax
call fcn.0042e3ec
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x427893
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x427893
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x427893
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00424d1d
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x427893
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x427893
mov ecx, ebx
call fcn.00431087
test eax, eax
je 0x427893
push 0
mov ecx, ebx
call fcn.004310a2
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042fd34
push dword [ebp - 0x14]
call fcn.0042e344
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004275b4
xor edi, edi
cmp eax, edi
je 0x4278f0
test byte [esi + 0x3c], 0x10
je 0x4278da
push 4
pop edi
mov ecx, esi
call fcn.00430f98
test ax, 0x100
je 0x4278d0
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042deda
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4278f0
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00431250
or dword [ebp - 4], 0xffffffff
jmp 0x42791b
cmp dword [ebp - 0x28], edi
je 0x427929
push 1
mov ecx, ebx
call fcn.004310a2
cmp dword [ebp - 0x2c], edi
je 0x427939
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x427952
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x427952
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042730b
cmp dword [esi + 0x58], edi
je 0x42796e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00445338
ret