joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e724c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4e72d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4e7314
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4e72b2
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.004049b4
jmp 0x4e72be
mov eax, ebx
mov edx, 0x4e7320
call fcn.00404798
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4e7350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4e7523
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4e7534
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e74f8
push 0
push 0x4e753c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e74f8
push 0
push 0x4e754c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4e7560
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4e74f8
call fcn.004e71e8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4e7402
cmp eax, dword [esp]
pop edx
pop eax
je 0x4e74f8
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004e8e08
mov eax, dword [ebp - 4]
mov edx, 0x4e7570
call fcn.00404b50
jne 0x4e7468
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jle 0x4e74f8
mov bl, 1
jmp 0x4e74f8
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409aac
test al, al
jne 0x4e74f8
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jne 0x4e74f8
push 0x32
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e752a
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret
Function at 0x4e7578
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4e7744
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4e7754
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e7719
push 0
push 0x4e775c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e7719
push 0
push 0x4e776c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4e7780
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4e7719
call fcn.004e71e8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4e762a
cmp eax, dword [esp]
pop edx
pop eax
je 0x4e7719
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004e8e08
mov eax, dword [ebp - 4]
mov edx, 0x4e7790
call fcn.00404b50
jne 0x4e7690
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jle 0x4e7719
mov bl, 1
jmp 0x4e7719
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409aac
test al, al
jne 0x4e7719
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jne 0x4e7719
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e774b
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret
Function at 0x4e7798
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4e7982
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x4e7994
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e7957
push 0
push 0x4e799c
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4e7957
push 0
push 0x4e79ac
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4e79bc
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
push 0
push 0x4e79c8
push 0
push esi
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x4e7957
call fcn.004e71e8
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4e785b
cmp eax, dword [esp]
pop edx
pop eax
je 0x4e7957
lea eax, [ebp - 0x408]
push eax
push 0x3ff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
call fcn.004e8e08
mov eax, dword [ebp - 4]
mov edx, 0x4e79d8
call fcn.00404b50
jne 0x4e78c1
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jle 0x4e7957
mov bl, 1
jmp 0x4e7957
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x410]
call fcn.00409aac
test al, al
jne 0x4e7957
mov eax, dword [ebp - 4]
mov edx, 0x4e79d8
call fcn.00404b50
lea eax, [ebp - 0x414]
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.004049b4
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0040eadc
test eax, eax
jne 0x4e7957
lea eax, [ebp - 0x418]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c64
mov eax, dword [ebp - 0x418]
push eax
push 0x3ff
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push esi
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7989
lea eax, [ebp - 0x418]
mov edx, 4
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404768
ret
Function at 0x4f9ba8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f9c17
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004049b4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ea64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9c1e
lea eax, [ebp - 0x10c]
call fcn.00404744
ret

Function at 0x4fa2ec
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bf4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4fa46f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fa43f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
mov ebx, eax
jmp 0x4fa42d
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409d18
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004fa29c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004fa29c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404b50
je 0x4fa40f
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004fa29c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004fa29c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404b50
jne 0x4fa424
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push edi
push esi
call sub.kernel32.dll_Process32Next
mov ebx, eax
test ebx, ebx
jne 0x4fa370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa449
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa476
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404768
lea eax, [ebp - 4]
call fcn.00404744
ret
Function at 0x4fbcd8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
xor eax, eax
push ebp
push 0x4fbd81
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edx
call fcn.004e81c8
lea edx, [ebp - 0x404]
push edx
push 0x3ff
push 0xd
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.004049b4
mov eax, dword [ebp - 0x408]
lea edx, [ebp - 4]
call fcn.00408f80
mov edx, dword [ebp - 4]
mov eax, 0x4fbd98
call fcn.0040eadc
test eax, eax
jg 0x4fbd5e
mov edx, dword [ebp - 4]
mov eax, 0x4fbdac
call fcn.0040eadc
test eax, eax
jle 0x4fbd60
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbd88
lea eax, [ebp - 0x408]
call fcn.00404744
lea eax, [ebp - 4]
call fcn.00404744
ret
Function at 0x4fd0e4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4fd1f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404744
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4fd16a
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 4]
jne 0x4fd157
mov edi, dword [ebp - 0x118]
jmp 0x4fd16e
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4fd144
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4fd1d5
cmp edi, dword [ebp - 0x128]
jne 0x4fd1c2
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.004049b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408f80
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 8]
call fcn.004fa24c
jmp 0x4fd1d9
lea eax, [ebp - 0x130]
push eax
push esi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4fd183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd1fe
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00404768
ret

Function at 0x5008b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x500917
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00404d90
push edi
mov eax, dword [ebp - 8]
call fcn.00404c04
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50091e
lea eax, [ebp - 8]
call fcn.00404744
ret

Function at 0x505250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5052da
xor edx, edx
push ebp
push 0x5052bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5052da
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x506610
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.00404bf4
mov eax, dword [ebp - 8]
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x50673f
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.00404c04
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404c04
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00446104
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404c04
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x506724
xor eax, eax
push ebp
push 0x50671d
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_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5066fd
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x506701
xor eax, eax
jmp 0x506703
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506724
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 0x506746
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404768
ret
Function at 0x506750
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.00404bf4
mov eax, dword [ebp - 8]
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
mov eax, dword [ebp + 0xc]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x5068ba
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.00404c04
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x5068cc
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.00404c04
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x506897
xor edx, edx
push ebp
push 0x506890
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404c04
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c04
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x506879
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x506870
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x506874
xor eax, eax
jmp 0x506876
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506897
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 0x5068c1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404768
lea eax, [ebp + 0xc]
call fcn.00404744
ret
Function at 0x5068d4
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, 0x50699c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x5069a0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x50699c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x506993
xor eax, eax
push ebp
push 0x50698c
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_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506993
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x506c0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x506e20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402b98
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x506c8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x506c74
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040493c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506c91
mov eax, dword [ebp - 8]
call fcn.00402bc8
ret

Function at 0x5081ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00403278
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x508226
cmp byte [ebp - 0xa], 0x31
jne 0x508224
mov bl, 1
jmp 0x508226
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50994c
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.00454104
test al, al
je 0x509a0a
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x5099e8
cmp word [esi + 0x5f2], 0
je 0x50999d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x5099bf
cmp dword [ebp - 4], 0
jbe 0x5099bb
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x5099bf
xor ebx, ebx
jmp 0x5099c1
mov bl, 1
test bl, bl
jne 0x509a0a
mov eax, dword [0x514588]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x509a0a
mov eax, dword [0x514588]
mov eax, dword [eax]
call fcn.0046d3fc
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x509a0a
cmp byte [esi + 0x588], 0
jne 0x509a0a
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004a6b80
cmp eax, 4
jne 0x50997a
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50ae04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50ae73
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004049b4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040ea64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ae7a
lea eax, [ebp - 0x10c]
call fcn.00404744
ret