joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x427826
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.kill32_h_is_null_pid___d_error___d
push 0x10e
push 0x45112c
call fcn.00422920
add esp, 0x14
xor al, al
jmp 0x42787a
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42785d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.kill32_progress_failed_pid___d_lasterror___d
push 0x114
push str.utility::process::kill32
call fcn.00422920
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x427873
mov byte [ebp - 1], 1
jmp 0x427877
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x427880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d18
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.00427d60
mov dword [ebp - 4], 0
push str.tskill.exe
lea ecx, [ebp - 0x28]
call fcn.00403d90
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00427cc0
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004274a0
add esp, 0x10
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403e60
movzx eax, byte [ebp - 0x41]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.kill_pid:_d__bSucess:_d
push 0x196
push 0x451654
call fcn.00422920
add esp, 0x14
movzx edx, byte [ebp - 0x41]
test edx, edx
jne 0x427993
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.tskill.exe_error_lastError___d
push 0x198
push str.utility::process::kill
call fcn.00422920
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x427984
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42797a
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x427984
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004277e0
add esp, 4
mov byte [ebp - 0x41], al
mov dl, byte [ebp - 0x41]
mov byte [ebp - 0x42], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00427d30
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x427d60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x427daf
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x427db9
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x2c]
cmp edx, 9
je 0x427dcb
movzx eax, word [ebp - 0x2c]
cmp eax, 6
jne 0x427e1a
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x427e1a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x427e30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x427e64
xor al, al
jmp 0x427e9e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x427e92
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 0x427e9e
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 0x428040
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 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00403e90
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 0x42807c
xor al, al
jmp 0x4280fc
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 0x42809d
mov al, 1
jmp 0x4280fc
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 0x4280c4
jmp 0x4280f2
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 0x4280ea
jmp 0x4280f2
mov al, 1
jmp 0x4280fc
mov ecx, dword [ebp - 4]
call fcn.00428110
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x428440
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403e90
push eax
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x428469
mov al, 1
jmp 0x4284a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403e90
push eax
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
push str.copy_file_from____s___to____s___flag___d_failed__error___d.
push 0x110
push str.utility::ufile::copyFile
call fcn.00422920
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x428760
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42877b
mov al, 1
jmp 0x4287aa
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.00403e90
push eax
push str.removeFile_file_from____s___error___d.
push 0x16b
push str.utility::ufile::removeFile
call fcn.00422920
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4288c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00403d90
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403df0
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x228]
call fcn.00403e60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret

Function at 0x4289b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.00403e90
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 0x4289eb
xor al, al
jmp 0x428a19
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x428a0e
mov ecx, dword [ebp - 4]
call fcn.00428980
xor al, al
jmp 0x428a19
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x428a20
Capabilities:
Read 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_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428a57
xor eax, eax
jmp 0x428a5a
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x428ac0
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 0x428aff
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x428aff
mov al, 1
jmp 0x428b01
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x429fa0
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 0x429fdd
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42a850
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 0x429fef
mov dword [ebp - 8], 1
jmp 0x429ff6
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x42ec90
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44720b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
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 0x453320
lea ecx, [ebp - 0x440]
call fcn.00403d90
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x440]
call fcn.00405580
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x440]
call fcn.00403e90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x42ed38
mov dword [ebp - 0x450], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00403e60
mov eax, dword [ebp - 0x450]
jmp 0x42ee12
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x410]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
mov dword [eax + 4], 0x400
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x41c], 8
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x420], 0
push 0
lea ecx, [ebp - 0x44c]
push ecx
push 0xc
lea edx, [ebp - 0x428]
push edx
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx edx, byte [ebp - 0x420]
cmp edx, 1
jne 0x42edf0
mov dword [ebp - 0x448], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00403e60
mov eax, dword [ebp - 0x448]
jmp 0x42ee12
mov dword [ebp - 0x458], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00403e60
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x42ee30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447248
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 0x450733
lea ecx, [ebp - 0x28]
call fcn.00403cb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42ef64
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x42eeb5
mov eax, dword [ebp - 0x34]
push eax
call fcn.00443454
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x42ee98
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42ef51
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x4535d0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42ef51
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.00406630
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.004065c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x432c30
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447870
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 0x454464
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 0x432c95
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00433000
xor al, al
jmp 0x432d6c
lea ecx, [ebp - 0x28]
call fcn.00403d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403d70
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.00433380
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x432cfd
push 1
mov ecx, dword [ebp - 0x44]
call fcn.00433000
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403e60
mov al, byte [ebp - 0x45]
jmp 0x432d6c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.004043e0
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.004043e0
push 8
push str.https:__
mov ecx, dword [ebp + 8]
call fcn.00403e90
push eax
call dword [sym.imp.MSVCR120.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x432d4a
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.00403e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403e60
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.004434d0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433190
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.00403e90
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 0x4331d5
xor al, al
jmp 0x4331d7
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433290
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 0x4332cb
xor al, al
jmp 0x433320
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 0x43331e
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 0x433380
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.00403f80
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00403e90
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x433422
xor al, al
jmp 0x43344f
mov edx, dword [ebp - 0x230]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ba60
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.0040ba60
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret
Function at 0x433f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00444040
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x1008], edx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov ebx, ecx
lea eax, [ebp - 0x802]
mov dword [ebp - 0x100c], 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43400c
lea eax, [ebp - 0x804]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x43400c
xor ecx, ecx
mov word [eax + 2], cx
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call dword [sym.imp.MSVCR120.dll__wcslwr]
mov esi, eax
add esp, 4
mov edx, 0x4e67c6a7
movzx edi, word [esi]
test di, di
je 0x43404e
lea ecx, [ecx]
mov ecx, edx
lea esi, [esi + 2]
mov eax, edx
shl ecx, 5
shr eax, 2
add ecx, eax
movzx eax, di
movzx edi, word [esi]
add ecx, eax
xor edx, ecx
test di, di
jne 0x434030
push dword [ebp - 0x1008]
and edx, 0x7fff
lea eax, [ebp - 0x1004]
push edx
push str.20160302_bbbb_bbbb__04x_0000_08x
push eax
call fcn.0043af20
add esp, 0x10
mov dword [ebx + 0x14], 7
xor eax, eax
mov dword [ebx + 0x10], 0
mov word [ebx], ax
pop edi
pop esi
cmp word [ebp - 0x1004], ax
jne 0x434091
xor ecx, ecx
jmp 0x4340af
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4340a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1004]
mov ecx, ebx
push eax
call fcn.00404400
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004434d0
mov esp, ebp
pop ebp
ret

Function at 0x437970
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4445b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.004340d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00429b80
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00429bb0
test al, al
jne 0x4379c8
xor esi, esi
jmp 0x4379fb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xffffffff
call fcn.004241a0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x34]
push eax
push 0x437830
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x18], 8
jb 0x437a0d
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004434d0
mov esp, ebp
pop ebp
ret 4