joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ecffc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5ed02a
mov eax, ebx
call fcn.005edab8
cmp dword [ebx + 0x40], 0
je 0x5ed023
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5ed09b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5ed08d
cmp dword [ebx + 8], 0
je 0x5ed04c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5ed05e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5ed08d
cmp dword [ebx + 8], 0
je 0x5ed03f
cmp eax, 3
je 0x5ed071
dec eax
jne 0x5ed03f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5ed03f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5ed03f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5ed0b9
cmp dword [ebx + 0x14], 0xcc
je 0x5ed0b9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005ed0c4
pop ebx
ret

Function at 0x5ff418
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
mov byte [esp + 4], dl
mov byte [esp + 5], 0
mov eax, esp
push eax
push 0x5ff3b8
call sub.user32.dll_EnumWindows
movzx eax, byte [esp + 5]
pop ecx
pop edx
ret

Function at 0x5ff43c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
setne al
call fcn.005e965c
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x5ff598
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x5ff626
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea ecx, [ebp - 4]
mov dl, 1
mov eax, esi
call fcn.005ff4ac
mov eax, dword [ebp - 4]
call fcn.0040b95c
mov edi, eax
dec edi
cmp edi, 0
jl 0x5ff60a
test bl, bl
je 0x5ff604
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x5ff5fe
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x5ff5fe
push esi
call sub.kernel32.dll_CloseHandle_1
test eax, eax
jne 0x5ff602
xor ebx, ebx
jmp 0x5ff604
mov bl, 1
dec edi
cmp edi, 0xffffffff
jne 0x5ff5ce
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff62d
lea eax, [ebp - 4]
mov edx, dword [0x5ff470]
call fcn.0040bc98
ret
Function at 0x5ff8c0
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0xc
call fcn.0040740c
mov dword [esp + 8], 0xc
mov eax, dword [0x6950d8]
cmp dword [eax], 2
jne 0x5ff914
push 1
lea eax, [esp + 0x18]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x5ff91a
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xffffffff
mov edx, 1
mov eax, edi
call fcn.006010e4
test eax, eax
jne 0x5ff978
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e965c
mov ecx, dword [esp + 4]
mov edx, 1
mov eax, edi
call fcn.006010ec
mov dl, 1
mov eax, dword [esp]
call fcn.005ff874
mov ecx, eax
xor edx, edx
mov eax, esi
call fcn.006010ec
mov edx, 2
mov eax, edi
call fcn.006010e4
test eax, eax
jne 0x5ff9f8
test bl, bl
je 0x5ff9d7
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e965c
mov ecx, dword [esp + 4]
mov edx, 2
mov eax, edi
call fcn.006010ec
mov dl, 1
mov eax, dword [esp]
call fcn.005ff874
mov ecx, eax
mov edx, 2
mov eax, esi
call fcn.006010ec
jmp 0x5ff9f8
mov edx, 1
mov eax, edi
call fcn.006010e4
xor edx, edx
call fcn.005ff874
mov ecx, eax
mov edx, 2
mov eax, edi
call fcn.006010ec
xor edx, edx
mov eax, edi
call fcn.006010e4
test eax, eax
jne 0x5ffa4b
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e965c
mov ecx, dword [esp]
xor edx, edx
mov eax, edi
call fcn.006010ec
mov dl, 1
mov eax, dword [esp + 4]
call fcn.005ff874
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.006010ec
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x6001f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x600339
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x600319
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x58]
test esi, esi
jne 0x600242
call fcn.00408fec
call fcn.00408fec
jmp 0x600340
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x464]
test eax, eax
ja 0x60025e
call fcn.00408fec
call fcn.00408fec
jmp 0x600340
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x6002a8
call sub.kernel32.dll_GetLastError_2
cmp eax, 0xe8
je 0x60028e
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x6d
jne 0x600299
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.005ff638
call fcn.00408fec
call fcn.00408fec
jmp 0x600340
cmp dword [ebp - 0xc], 0
ja 0x6002bd
call fcn.00408fec
call fcn.00408fec
jmp 0x600340
cmp ebx, dword [ebp - 0xc]
jbe 0x6002dc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x64]
mov ecx, ebx
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x64
call fcn.00406c10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub dword [eax + 0x464], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600320
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
setne byte [ebp - 5]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x464], 0
jne 0x600318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.kernel32.dll_ResetEvent
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60690c
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.0040a688
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x60697b
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.0042767c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x611e70
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x611e8f
call sub.wsock32.dll_WSAGetLastError
call fcn.0060e764
add esp, 0x190
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x611fc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x611ede
inc esi
push 0x4bf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x611f06
call sub.wsock32.dll_WSAGetLastError
call fcn.0060e764
jmp 0x611fa7
cmp ebx, 0x102
jne 0x611f28
lea edx, [ebp - 0x30]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0060e7bc
jmp 0x611fa7
cmp ebx, esi
jne 0x611fa7
jmp 0x611f69
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageW
cmp edi, 0xffffffff
je 0x611f69
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611f69
lea edx, [ebp - 0x34]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.0060e7bc
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x611f2e
cmp edi, 0xffffffff
je 0x611fa7
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x611fa7
lea edx, [ebp - 0x38]
mov eax, dword [0x694554]
call fcn.0040d994
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.0060e7bc
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x611fd0
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004098d8
ret
Function at 0x6131dc
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.006134a8
cmp dword [eax + 0xc], 0
jle 0x613260
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x613259
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.006134a8
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.0061342c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613260
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x613304
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_send
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.006134a8
cmp dword [eax + 0xc], 0
jle 0x613388
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x613381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.006134a8
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.0061342c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x613388
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, edx
lea edi, [esp + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0x4bf
push ebx
push 0
lea eax, [esp + 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x61349f
je 0x613480
sub eax, 0x101
jne 0x613445
jmp 0x61349f
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageW
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x613492
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x613469
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x61349f
jmp 0x613445
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x6145e8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
mov eax, ebx
call fcn.00409878
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x614619
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040a72c
add esp, 0x100
pop ebx
ret
Function at 0x6169c4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040740c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x6175c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x617741
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00601114
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x617609
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x40
jle 0x61762c
lea eax, [ebp - 0x6c]
call fcn.006169c4
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
call fcn.006172f0
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x6c]
call fcn.00617318
lea eax, [ebp - 4]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 4]
mov edx, 0x61775c
call fcn.0040a08c
dec ebx
jne 0x617639
lea eax, [ebp - 8]
call fcn.0040989c
mov ebx, 0x40
lea eax, [ebp - 8]
mov edx, 0x61776c
call fcn.0040a08c
dec ebx
jne 0x617656
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x617672
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x6176b7
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00409e48
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
lea eax, [ebp - 8]
call fcn.00409e48
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x61767d
lea eax, [ebp - 0x6c]
call fcn.006169c4
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
call fcn.006172f0
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.00601114
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.006172f0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x6c]
call fcn.00617318
lea eax, [ebp - 0x6c]
call fcn.006169c4
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 8]
call fcn.006172f0
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0xc]
call fcn.006172f0
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00617318
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
call fcn.00617490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617748
lea eax, [ebp - 0x70]
call fcn.0040989c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00409908
ret

Function at 0x618644
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
cmp dword [0x693854], 0
jne 0x61865f
push esp
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [esp + 0x1c]
mov dword [0x693854], eax
mov eax, dword [0x693854]
add esp, 0x24
ret
Function at 0x61e6b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61e785
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00409878
push 0
push 0
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.0060d960
mov esi, eax
cmp esi, 1
jl 0x61e76f
mov ecx, esi
add ecx, ecx
mov dl, 1
mov eax, dword [0x61691c]
call fcn.00605288
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x61e768
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.0060d960
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00605924
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e76f
mov eax, dword [ebp - 4]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61e78c
lea eax, [ebp - 8]
call fcn.004098c0
ret

Function at 0x62f984
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62faac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0062f8a8
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.00601f1c
test eax, eax
je 0x62fa6e
mov eax, ebx
call fcn.0062f1a8
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0062f80c
mov eax, dword [ebp - 0x10]
push eax
mov eax, ebx
call fcn.006305ac
mov edx, dword [ebp - 4]
pop ecx
call fcn.0060928c
mov eax, ebx
call fcn.006305ac
cmp dword [eax + 0x24], 0x190
jl 0x62fa89
mov eax, ebx
call fcn.006305ac
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x6949dc]
call fcn.0040d994
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.006305ac
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
pop eax
call fcn.00425b8c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x608b48]
call fcn.00609550
call fcn.00408ef8
jmp 0x62fa89
push 0
lea edx, [ebp - 0x24]
mov eax, dword [0x6948b0]
call fcn.0040d994
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, ebx
call fcn.0062f0d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62fab3
lea eax, [ebp - 0x24]
call fcn.00409878
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004098d8
ret
Function at 0x64d38c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x64d401
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
mov ecx, ebx
xor edx, edx
call fcn.00409a54
mov eax, dword [ebp - 4]
call fcn.0040a2b0
mov edx, eax
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040a760
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d408
lea eax, [ebp - 0xc]
call fcn.00409878
lea eax, [ebp - 4]
call fcn.0040989c
ret

Function at 0x65be74
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov esi, eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
setg bl
test bl, bl
je 0x65bf25
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [esi + 0x5c]
call fcn.0040a688
push eax
call sub.kernel32.dll_CreateFileW
mov edi, eax
cmp edi, 0xffffffff
setne bl
test bl, bl
je 0x65bf25
mov eax, esi
call fcn.0065c7ec
cmp edx, 0
jne 0x65bed0
cmp eax, 0
jbe 0x65bf1f
jmp 0x65bed2
jle 0x65bf1f
xor eax, eax
mov dword [esp], eax
push esp
push edi
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
xor eax, eax
or eax, dword [esp + 8]
or edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, esi
call fcn.0065c7ec
cmp edx, dword [esp + 0xc]
jne 0x65bf1c
cmp eax, dword [esp + 8]
sete bl
push edi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x18
pop edi
pop esi
pop ebx
ret
Function at 0x65ebc8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0xfffffffb
test esi, esi
je 0x65ed8d
cmp dword [ebp - 0x10], 0
je 0x65ed8d
cmp dword [ebp + 0x10], 0
je 0x65ed8d
mov word [ebp - 0x1a], 0
mov word [ebp - 0x18], 1
mov word [ebp - 0x16], 1
lea eax, [ebp - 0x2a]
xor ecx, ecx
mov edx, 0x10
call fcn.0040740c
mov edi, esi
mov eax, edi
movzx edx, byte [eax + 4]
mov byte [ebp - 0x2a], dl
movzx edx, byte [eax + 8]
mov byte [ebp - 0x29], dl
movzx edx, word [eax + 0xe]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x1e], 0x16
mov edx, dword [eax + 0x14]
add edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov dword [ebp - 0x22], edx
movzx edx, byte [ebp - 0x29]
add edx, edx
mov dword [eax + 8], edx
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x65ec83
mov dword [ebp - 4], 0xfffffffa
jmp 0x65ed8d
xor eax, eax
push ebp
push 0x65ed86
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
push 6
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ecbb
push ebp
call fcn.0065eba0
pop ecx
call fcn.00408fec
jmp 0x65ed8d
mov ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x10
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ece8
push ebp
call fcn.0065eba0
pop ecx
call fcn.00408fec
jmp 0x65ed8d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ed11
push ebp
call fcn.0065eba0
pop ecx
call fcn.00408fec
jmp 0x65ed8d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ed3d
push ebp
call fcn.0065eba0
pop ecx
call fcn.00408fec
jmp 0x65ed8d
add ebx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x65ed69
push ebp
call fcn.0065eba0
pop ecx
call fcn.00408fec
jmp 0x65ed8d
add ebx, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65ed8d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc