joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f200
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42f255
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x42f23e
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42f276
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x42f296
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4

Function at 0x42f2f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42f324
xor al, al
jmp 0x42f35e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42f352
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42f35e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42f450
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x42f48c
xor al, al
jmp 0x42f50c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x42f4ad
mov al, 1
jmp 0x42f50c
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x42f4d4
jmp 0x42f502
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x42f4fa
jmp 0x42f502
mov al, 1
jmp 0x42f50c
mov ecx, dword [ebp - 4]
call fcn.0042f520
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x42f850
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x42f878
mov al, 1
jmp 0x42f8b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0x106
push str.utility::ufile::moveFile
call fcn.00427290
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42f8c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42f8db
mov al, 1
jmp 0x42f90a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push str.removeFile_file_from____s___error___d.
push 0x16b
push str.utility::ufile::removeFile
call fcn.00427290
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x42fb20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42fb5f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x42fb5f
mov al, 1
jmp 0x42fb61
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x42fdd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b988
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push str.utility::process::create
call fcn.00427290
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x43fc5c
lea ecx, [ebp - 0x58]
call fcn.004216f0
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x43fc58
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.0040aeb0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00404580
mov ecx, dword [ebp + 0xc]
call fcn.0040b8f0
movzx eax, al
test eax, eax
jne 0x42feb4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0x43fc60
lea ecx, [ebp - 0x40]
call fcn.004216f0
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404580
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea ecx, [ebp - 0xc4]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x42ff14
mov dword [ebp - 0x5c], 5
jmp 0x42ff1b
mov dword [ebp - 0x5c], 0
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x98], ax
xor ecx, ecx
mov word [ebp - 0x96], cx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor edx, edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xc8]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00404730
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42ffb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xff
push 0x43fc64
call fcn.00427290
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404580
mov eax, dword [ebp - 0x60]
jmp 0x42ffe6
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x42ffc8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404580
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x430017
mov dword [ebp - 8], 1
jmp 0x43001e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43005f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43005f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x43005f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x430062
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x430530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43eeff
lea ecx, [ebp - 0x28]
call fcn.004046d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x430664
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x4305b5
mov eax, dword [ebp - 0x34]
push eax
call fcn.00436c40
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x430598
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x430651
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x441b0c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x430651
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040bd10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040bd50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret
Function at 0x431af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x431b2d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x431c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x431b3f
mov dword [ebp - 8], 1
jmp 0x431b46
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4327f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
cmp dword [eax], 0
jne 0x43283c
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push 0x4428cc
push 0xd9
push 0x44290c
call fcn.00427290
add esp, 0x10
or eax, 0xffffffff
jmp 0x4328c1
mov ecx, dword [ebp + 8]
call fcn.0040b8f0
mov dword [ebp - 0x810], 0x800
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x814]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
mov edx, dword [ebp - 0x80c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x808], eax
cmp dword [ebp - 0x808], 0
jne 0x43289d
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00417d90
jmp 0x4328bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_reg_lastError___d
push 0xec
push str.utility::RegKeyEx::RegRead
call fcn.00427290
add esp, 0x10
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret 8
Function at 0x435c10
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c050
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x3c], ecx
push 0
push 0
push 0
push 0
push 0x442bfc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x435c75
push 0
mov ecx, dword [ebp - 0x44]
call fcn.004361b0
xor al, al
jmp 0x435d4c
lea ecx, [ebp - 0x28]
call fcn.0040bcf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040bcf0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00436730
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x435cdd
push 1
mov ecx, dword [ebp - 0x44]
call fcn.004361b0
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404580
mov al, byte [ebp - 0x45]
jmp 0x435d4c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.0040ba10
mov ecx, dword [ebp - 0x44]
mov dx, word [ebp - 0x4c]
mov word [ecx + 0x1c], dx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0040ba10
push 8
push str.https:__
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x435d2a
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x38], 1
mov byte [ebp - 0x46], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404580
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret 0xc

Function at 0x436340
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push eax
push 0
push 3
push 0
push 0
movzx ecx, word [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x436385
xor al, al
jmp 0x436387
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x436440
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2824
call fcn.00437870
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x280c], ecx
mov dword [ebp - 0x2824], 1
mov dword [ebp - 0x2820], 0x442c38
mov dword [ebp - 0x281c], 0
mov dword [ebp - 0x2814], 0x84001081
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43649f
mov ecx, dword [ebp - 0x2814]
or ecx, 0x800000
mov dword [ebp - 0x2814], ecx
push 0
mov edx, dword [ebp - 0x2814]
push edx
push 0
push 0
push 0x442c40
mov ecx, dword [ebp + 8]
call fcn.00404730
push eax
push 0x442c54
mov eax, dword [ebp - 0x280c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, dword [ebp - 0x280c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x280c]
cmp dword [eax + 4], 0
jne 0x436508
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.post_error__d
push 0x129
push 0x442c7c
call fcn.00427290
add esp, 0x10
xor al, al
jmp 0x436628
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404780
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404730
push eax
mov eax, dword [ebp - 0x280c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x43653f
mov byte [ebp - 0x2805], 1
jmp 0x436546
mov byte [ebp - 0x2805], 0
mov dl, byte [ebp - 0x2805]
mov byte [ebp - 0x2806], dl
movzx eax, byte [ebp - 0x2806]
test eax, eax
jne 0x436582
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.post_error2__d
push 0x12f
push 0x442cbc
call fcn.00427290
add esp, 0x10
xor al, al
jmp 0x436628
mov dword [ebp - 0x2818], 0
mov byte [ebp - 0x2804], 0
push 0x27ff
push 0
lea ecx, [ebp - 0x2803]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x2810], 0
lea edx, [ebp - 0x2810]
push edx
push 0x2800
lea eax, [ebp - 0x2804]
push eax
mov ecx, dword [ebp - 0x280c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4365fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.post_error3__d
push 0x13c
push str.utility::CHttpConnection::post
call fcn.00427290
add esp, 0x10
xor al, al
jmp 0x436628
cmp dword [ebp - 0x2810], 0
jne 0x436607
jmp 0x436626
mov eax, dword [ebp - 0x2810]
push eax
lea ecx, [ebp - 0x2804]
push ecx
mov ecx, dword [ebp + 0x1c]
call fcn.0040baf0
mov edx, 1
test edx, edx
jne 0x4365a9
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret 0x18
Function at 0x436640
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x20000013
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43667b
xor al, al
jmp 0x4366d0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x20000005
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4366ce
mov edx, dword [ebp - 4]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x436730
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x204], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x202]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0
push 0x38
push 0
lea edx, [ebp - 0x23c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x3c
lea eax, [ebp - 0x204]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0xff
mov dword [ebp - 0x210], 1
lea ecx, [ebp - 0x240]
push ecx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.00404780
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00404730
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4367d2
xor al, al
jmp 0x4367ff
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.00417d90
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 0x228]
mov word [eax], cx
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00417d90
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret
Function at 0x100022bb
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
mov ecx, 0x100396f8
call fcn.10024f43
cmp dword [0x10034f78], 2
jne 0x100022f3
xor esi, esi
push esi
push esi
push esi
push 0x10002298
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10005aa9
push 0
jmp 0x100022ed

Function at 0x1000233b
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x100396f8
call fcn.10024f43
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10002388
cmp dword [0x10034f78], 2
jne 0x10002381
push esi
push esi
push esi
push 0x10002318
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10005aa9
jmp 0x1000237a
mov al, 1
pop esi
ret

Function at 0x1000238c
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10032080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, 0x100396f8
push esi
call fcn.10024f43
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
je 0x100023fe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10006854
leave
ret
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.1000f1a5
pop ecx
pop ecx
test eax, eax
je 0x10002413
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x100023eb
jmp 0x100023d6
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
call fcn.10005aa9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]