joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524578
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a42c
mov eax, dword [ebp + 8]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x5246cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00522c14
test al, al
je 0x5246a7
xor eax, eax
push ebp
push 0x524699
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040a3b8
push eax
push 0x5246e4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 8], 0
je 0x52468f
xor eax, eax
push ebp
push 0x524688
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x45faac]
call fcn.00469498
mov ebx, eax
mov edx, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, edi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0043f614
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.00469db8
call fcn.0046416c
push eax
push esi
push 0
push 0
push 1
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52468f
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5246a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5246d4
lea eax, [ebp - 8]
call fcn.0040a3b8
lea eax, [ebp - 4]
call fcn.0040a3b8
lea eax, [ebp + 8]
call fcn.00406f04
ret
Function at 0x525554
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x525716
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dl, 1
mov eax, dword [0x455aa4]
call fcn.00457b38
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5256e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x18]
call fcn.00457c20
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x525734
call fcn.00407cb0
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.00457d68
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.004586e4
mov eax, dword [ebp - 0x18]
call fcn.00457bf0
push 0x525734
push dword [ebp - 4]
push 0x525764
push dword [ebp - 8]
push 0x525774
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00407d38
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.00457d68
lea ecx, [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.004586e4
mov eax, dword [ebp - 0x18]
call fcn.00457bf0
cmp dword [ebp - 8], 0
je 0x5256d1
mov edx, dword [ebp - 8]
mov eax, 0x5257a8
call fcn.00407fec
test eax, eax
jle 0x525689
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x5257a8
call fcn.00407fec
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00407e80
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x52566a
sub ebx, 4
mov ebx, dword [ebx]
mov esi, dword [ebp - 8]
test esi, esi
je 0x525676
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.00407e80
jmp 0x52569c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040732c
lea eax, [ebp - 0xc]
call fcn.00406f04
mov byte [ebp - 0x11], 1
push 5
push 0x5257ac
mov eax, dword [ebp - 0xc]
call fcn.00407a74
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407a74
push eax
push 0x5257b0
mov eax, dword [0x550814]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5256ee
mov eax, dword [ebp - 0x18]
call fcn.004054e4
ret
Function at 0x5257bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a42c
xor eax, eax
push ebp
push 0x525912
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x230]
call fcn.0040a3b8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.0040a4c8
mov eax, dword [ebp - 0x230]
call fcn.00522c14
test al, al
je 0x5258de
test bl, bl
je 0x525856
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040a4c8
jmp 0x525873
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040a4c8
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
push 0x200
lea eax, [ebp - 0x22c]
push eax
push ebx
call sub.user32.dll_GetClassNameW
mov eax, 0x52592c
call fcn.00407a74
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.kernel32.dll_lstrcmpW
test eax, eax
jne 0x5258b2
mov esi, ebx
mov eax, dword [0x550814]
mov eax, dword [eax]
call fcn.004f2c44
call sub.kernel32.dll_GetTickCount_1
test esi, esi
jne 0x5258d0
sub eax, edi
cmp eax, 0x1b58
jbe 0x52587c
test esi, esi
je 0x5258de
mov eax, dword [ebp - 0x2c]
push eax
push esi
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x525919
lea eax, [ebp - 0x230]
call fcn.0040a3b8
lea eax, [ebp - 0x28]
mov edx, dword [0x4012b4]
mov ecx, 2
call fcn.004082fc
lea eax, [ebp - 4]
call fcn.0040a3b8
ret

Function at 0x526948
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x526998
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407a74
push eax
push 0x5269a4
push ebx
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52699f
lea eax, [ebp - 4]
call fcn.00406f04
ret
Function at 0x5272d4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
mov eax, dword [ebp - 8]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x527362
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52733b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407a74
push eax
mov eax, dword [ebp - 4]
call fcn.00407a74
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527347
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527369
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f64
ret

Function at 0x527950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404d4c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], 1
mov eax, 0x104
call fcn.0041e7f8
mov ebx, eax
xor eax, eax
push ebp
push 0x5279d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x208
call fcn.00404d4c
push 0xffffffffffffffff
push esi
push ebx
mov eax, dword [ebp - 0x38]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x5279c1
mov dword [ebp - 4], ebx
jmp 0x5279c9
mov eax, 0x5279e8
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5279de
ret
Function at 0x5279ec
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x527b0b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov eax, dword [ebp - 0xc]
call fcn.00404444
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov esi, eax
test esi, esi
je 0x527a6a
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
call fcn.00407ac4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407e48
jne 0x527a6a
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00407ac4
mov eax, ebx
call fcn.00404460
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x527ae8
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
call sub.kernel32.dll_GetLastError_1
mov edi, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x527ae0
mov eax, dword [ebp - 0xc]
call fcn.00404444
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
test eax, eax
je 0x527ad9
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 4]
call fcn.00407ac4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00407e48
jne 0x527ad9
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00407ac4
jmp 0x527ae8
mov eax, ebx
call fcn.00404460
cmp edi, 0x103
jne 0x527a79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527b12
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406f64
lea eax, [ebp - 4]
call fcn.00406f04
ret
Function at 0x527ebc
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x528036
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x527f13
mov eax, dword [ebp - 0xc]
mov edx, 0x528054
call fcn.004072e4
jmp 0x528015
xor eax, eax
push ebp
push 0x52800e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x527f49
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.00407764
push 0x104
mov eax, dword [ebp - 4]
call fcn.004076c0
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.004076c0
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x527fba
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00407b1c
mov eax, dword [esi]
call fcn.00407a74
call fcn.0041e38c
mov edx, eax
mov eax, esi
call fcn.00407bd8
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
push dword [ebp - 0x1ac]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1b4]
mov ecx, 0
call fcn.0040755c
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 8]
call fcn.00407b1c
mov byte [ebp - 0xd], 1
jmp 0x527ffb
call sub.wsock32.dll_WSAGetLastError
sub eax, 0x2734
je 0x527fee
sub eax, 0xe
je 0x527fdf
sub eax, 0x2b
jne 0x527ffb
mov eax, dword [ebp - 0xc]
mov edx, 0x528098
call fcn.004072e4
jmp 0x527ffb
mov eax, dword [ebp - 0xc]
mov edx, 0x5280c8
call fcn.004072e4
jmp 0x527ffb
mov eax, dword [ebp - 0xc]
mov edx, 0x5280ec
call fcn.004072e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528015
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52803d
lea eax, [ebp - 0x1b4]
call fcn.00406f28
lea eax, [ebp - 4]
call fcn.00406f28
ret

Function at 0x52810c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x52818d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00406f04
lea eax, [ebp - 8]
call fcn.00406f04
push 0x5281a8
push dword [ebp - 4]
push 0x5281d8
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407d38
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00407a74
push eax
push 0x5281e8
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528194
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406f64
ret
Function at 0x529d9c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x529ddc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x529de6
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x52b088
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
mov eax, dword [ebp - 8]
call fcn.00406fe8
mov eax, dword [ebp - 0xc]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x52b1b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00407a74
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00407a74
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.004dec9c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407a74
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x52b19c
xor eax, eax
push ebp
push 0x52b195
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x52b175
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x52b179
xor eax, eax
jmp 0x52b17b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b19c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b1be
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406f64
ret
Function at 0x52b1c8
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
mov eax, dword [ebp - 8]
call fcn.00406fe8
mov eax, dword [ebp - 0xc]
call fcn.00406fe8
mov eax, dword [ebp + 0xc]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x52b332
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00407a74
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x52b348
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407a74
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x52b30f
xor edx, edx
push ebp
push 0x52b308
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00407a74
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407a74
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x52b2f1
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x52b2e8
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x52b2ec
xor eax, eax
jmp 0x52b2ee
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b30f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b339
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406f64
lea eax, [ebp + 0xc]
call fcn.00406f04
ret
Function at 0x52b358
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fe8
mov eax, dword [ebp - 8]
call fcn.00406fe8
xor eax, eax
push ebp
push 0x52b472
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x3c], 4
mov eax, dword [ebp - 8]
call fcn.00407a74
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 2
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407a74
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x52b457
xor eax, eax
push ebp
push 0x52b450
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x52b430
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x52b434
xor eax, eax
jmp 0x52b436
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b457
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b479
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f64
ret

Function at 0x52b484
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x52b54c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x52b550
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x52b54c
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52b543
xor eax, eax
push ebp
push 0x52b53c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b543
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52cc58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x52ce82
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.00404444
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x52ccd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x52ccc3
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00407ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cce0
mov eax, dword [ebp - 0x10]
call fcn.00404460
ret

Function at 0x5323dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.00404d4c
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x532417
cmp word [ebp - 0x14], 0x31
jne 0x532415
mov bl, 1
jmp 0x532417
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5349c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004890d8
test al, al
je 0x534a87
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x534a65
cmp word [esi + 0x67a], 0
je 0x534a19
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x534a3c
cmp dword [ebp - 4], 0
jbe 0x534a38
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x534a3c
xor ebx, ebx
jmp 0x534a3e
mov bl, 1
test bl, bl
jne 0x534a87
mov eax, dword [0x550814]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x534a87
mov eax, dword [0x550814]
mov eax, dword [eax]
call fcn.004f2c44
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x534a87
cmp byte [esi + 0x610], 0
jne 0x534a87
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004fba94
cmp eax, 4
jne 0x5349f6
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret