joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4baf40
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x20], 0
jne 0x4bafcb
push 0x676964
lea ecx, [ebp - 0x24]
call fcn.004035b0
lea ecx, [esi + 0x40]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0x12
mov dword [esi + 0x3c], 0
cmp ecx, eax
je 0x4bafa5
push 0xffffffffffffffff
push 0
push eax
call fcn.00403b10
cmp dword [ebp - 0x10], 8
jb 0x4bafb6
push dword [ebp - 0x24]
call fcn.004c56c2
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4bafe6
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0xac], 0
mov eax, dword [esi + 0x24]
mov edi, 0x100
cmp dword [eax + 0x164], 1
mov ecx, 0x800100
lea edx, [eax + 0x148]
cmove edi, ecx
cmp dword [edx + 0x14], 8
jb 0x4bb00b
mov edx, dword [edx]
cmp dword [esi + 0x8c], 8
lea eax, [esi + 0x78]
jb 0x4bb019
mov eax, dword [eax]
cmp dword [esi + 0xa4], 8
lea ecx, [esi + 0x90]
jb 0x4bb02a
mov ecx, dword [ecx]
push edi
push 0
push edx
push 0
push eax
push ecx
push dword [esi + 0xa8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xac], eax
test eax, eax
jne 0x4bb07e
call fcn.004ab940
mov ecx, dword [eax]
push 0x641348
push eax
call dword [ecx + 4]
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004bbd40
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bb7c0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], 0
push dword [edi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4bb805
push eax
mov ecx, edi
call fcn.004bbd40
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4bb82e
call fcn.004ab940
mov ecx, dword [eax]
push 0x640cd0
push 0x676964
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
push 0x6d53a0
neg ecx
or ecx, eax
push ecx
call fcn.005ea1b7
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bb88c
call fcn.004ab940
mov ecx, dword [eax]
push 0x640d44
push 0x676964
push eax
call dword [ecx + 0x24]
sub esp, 0xc
mov ecx, esp
push 0x640d78
call fcn.004035b0
push esi
push 0x13
mov ecx, edi
call fcn.004bc850
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 8]
push dword [edi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4bb8c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004bbd40
push esi
call fcn.004c56c2
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00403800
push esi
call fcn.004c56c2
add esp, 4
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4bba40
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x16
push dword [edi]
mov dword [ebp - 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4bbac8
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.004c56b9
add esp, 4
mov esi, eax
push 0
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0x16
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4bbaba
call fcn.004ab940
mov ecx, dword [eax]
push esi
push 0x640dac
push eax
call dword [ecx + 0x14]
add esp, 0xc
test esi, esi
je 0x4bbac7
push esi
call fcn.004c56c2
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4bf4c0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x74
call fcn.005edda0
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
test eax, eax
mov edi, 0x6cfcf4
push 0x70
cmovne edi, eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005edd10
push dword [esp + 0x90]
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x20], 0x6a09e667
mov dword [esp + 0x24], 0xbb67ae85
mov dword [esp + 0x28], 0x3c6ef372
mov dword [esp + 0x2c], 0xa54ff53a
mov dword [esp + 0x30], 0x510e527f
mov dword [esp + 0x34], 0x9b05688c
mov dword [esp + 0x38], 0x1f83d9ab
mov dword [esp + 0x3c], 0x5be0cd19
mov dword [esp + 0x8c], 0x20
call fcn.004bf870
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004bf590
lea eax, [esp + 0x28]
push 0x70
push eax
call fcn.004bfca0
mov ecx, dword [esp + 0xa0]
add esp, 0x28
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.005e96ad
add esp, 0x74
ret

Function at 0x4c9e0b
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.004d6cbf
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 0x4c9e42
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.004c9e61
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 0x4d1c55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6d1a64]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4d1ca1
push 0x676920
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4d1cbe
push 0x67702c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6d1a64], eax
jmp 0x4d1caa
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4d1cbe
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4d1d2b
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4d1cd9
xor eax, eax
jmp 0x4d1d2b
lea eax, [ebp - 0x210]
push eax
call fcn.005efb86
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4d1d0a
push 0x677634
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005eb07b
add esp, 0xc
test eax, eax
jne 0x4d1cd5
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005eb07b
add esp, 0xc
test eax, eax
jne 0x4d1cd5
lea eax, [ebp - 0x210]
push eax
call fcn.004d68fe
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005e96ad
leave
ret
Function at 0x4d24be
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 0x4d2503
call fcn.004d6cbf
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4d2503
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4d251f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004db0b4
mov ebx, eax
test edi, edi
je 0x4d251d
test esi, esi
je 0x4d251d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4d84ff
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x61fb5b
call fcn.005efbf0
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x4d8525
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4d8579
call fcn.004cef81
push eax
lea ecx, [ebp - 0x10]
call fcn.004085e0
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.005f030b
push eax
call fcn.00404f50
add esp, 0x14
test edi, edi
je 0x4d856c
push edi
call fcn.005efb86
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004050a0
mov eax, esi
call fcn.005efbbe
ret 8
Function at 0x4dd1d2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6cd400]
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 [0x6d1dc8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x4dd22b
push 0x676920
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4dd248
push 0x646ae8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x6d1dc8], eax
jmp 0x4dd234
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4dd248
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x4dd385
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.0060aecf
lea eax, [ebp - 0x14]
push eax
call fcn.005efb86
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.005ea9d1
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.0060aecf
lea eax, [ebp - 0x14]
push eax
call fcn.005efb86
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.005ea9d1
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.0060aecf
lea eax, [ebp - 0x14]
push eax
call fcn.005efb86
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.005ea9d1
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.0060aecf
lea eax, [ebp - 0x14]
push eax
call fcn.005efb86
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.005ea9d1
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.0060aecf
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.005efb86
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.005ea9d1
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.005e96ad
leave
ret
Function at 0x4ef205
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.004d8143
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 0x4ef241
call fcn.004ef420
mov dword [esi + 0xc], 1
jmp 0x4ef246
call fcn.004ef420
cmp dword [esi], 0
je 0x4ef28f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4ef269
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004cec6f
jmp 0x4ef27a
push 0xff
mov ecx, esi
call fcn.00408630
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004c75e2
jmp 0x4ef2b3
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 0x4ef2b3
push dword [esi]
push dword [ebp - 4]
call fcn.004dbaae
pop esi
leave
ret 0xc

Function at 0x4ef377
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.004ef420
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4ef3bf
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004cec6f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004c75e2
jmp 0x4ef3ca
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004dbaae
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x54d2ac
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 0x54d2c4
call fcn.004d6cbf
mov esi, dword [eax + 0xc]
push 0x679880
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x54d31a
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x54d319
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x54d2fa
xor esi, esi
jmp 0x54d310
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.0054d320
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 0x5cceee
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 0x5ccf08
mov edi, dword [esi + 0xc]
jmp 0x5ccf48
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5ccf21
call fcn.004cfb37
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5ccf36
call fcn.004cfb37
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5ccf48
call fcn.004cfb37
call fcn.004d6cbf
cmp dword [eax + 0x3c], 0
je 0x5ccf5d
push edi
mov ecx, ebx
call fcn.005cc78a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005cd121
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x5ccf80
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x5ccf89
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 0x6013b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6cd400]
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.005f35b3
mov dword [ebp - 0x14], eax
cmp dword [0x6d62e8], edi
jne 0x6014a9
push 0x800
push edi
push 0x66fa30
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x601436
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x601589
push 0x66fa30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x601589
push 0x66fa48
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x601589
push eax
call ebx
push 0x66fa54
push esi
mov dword [0x6d62e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66fa64
push esi
mov dword [0x6d62ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x66fa78
push esi
mov dword [0x6d62f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6d62f8], eax
test eax, eax
je 0x6014a6
push 0x66fa94
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6d62f4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x6014ce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6014c1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x6014e3
push 4
pop eax
jmp 0x60158b
cmp dword [ebp - 0x14], edi
je 0x6014e3
push dword [0x6d62e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x6014c8
mov eax, dword [0x6d62f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x601541
cmp dword [0x6d62f8], esi
je 0x601541
push eax
call ebx
push dword [0x6d62f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x601541
test eax, eax
je 0x601541
call ecx
test eax, eax
je 0x601536
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 0x601536
test byte [ebp - 8], 1
jne 0x601541
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x601571
mov eax, dword [0x6d62ec]
cmp eax, esi
je 0x60156e
push eax
call ebx
test eax, eax
je 0x60156e
call eax
mov edi, eax
test edi, edi
je 0x60156e
mov eax, dword [0x6d62f0]
cmp eax, esi
je 0x60156e
push eax
call ebx
test eax, eax
je 0x60156e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x6d62e8]
call ebx
test eax, eax
je 0x601589
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x60158b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e96ad
leave
ret
Function at 0x6041bd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.005f29a1
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 0x6041f5
xor eax, eax
jmp 0x604221
cmp esi, dword [ebp - 4]
je 0x60421e
cmp dword [ebp + 0xc], 0
je 0x60421e
push dword [edi + 0x9c]
call fcn.00603dcb
push dword [edi + 0x9c]
mov esi, eax
call fcn.005efb86
pop ecx
pop ecx
cmp esi, eax
je 0x6041f1
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401310
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x42b008]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push edi
push 0
mov edi, edx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x421340
push 1
push 0
push 0x421360
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x401412
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x401408
mov eax, dword [esp + 0x10]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
js 0x401408
mov eax, dword [esp + 0x10]
push 0x42c4e0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
js 0x401408
mov eax, dword [esp + 0x10]
push 0
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x401408
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x421350
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x401408
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x104
push dword [esp + 0x24]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x224]
not esi
shr esi, 0x1f
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040acdd
add esp, 0x218
ret
Function at 0x4021c0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x42b008]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x11c]
push edi
test eax, eax
je 0x402200
push eax
lea eax, [esp + 0x18]
push str._s_s
push eax
call fcn.00401180
add esp, 0x10
jmp 0x402212
lea eax, [esp + 0x14]
push 0x426a44
push eax
call fcn.00401180
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004012a0
push eax
lea eax, [esi + 0x110]
push 0x104
push eax
call fcn.00410fc0
mov ecx, edi
call fcn.00401250
push eax
lea eax, [esi + 0xc]
push 0x104
push eax
call fcn.00410fc0
add esp, 0x18
lea eax, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40227a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x214], eax
xor eax, eax
jmp 0x4022e9
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402296
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4022e8
push ebp
lea ecx, [ebx + 1]
call fcn.004011a0
push 0
mov ebp, eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4022c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x214], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ecx, esi
mov byte [ebx + ebp], 0
call fcn.00401b10
mov esi, dword [esp + 0x10]
mov ecx, ebp
and esi, eax
call fcn.004011d0
mov eax, esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.0040acdd
add esp, 0x110
ret 8