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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
fld qword [esi + 0x30]
fld qword [0x462820]
mov dword [esp + 0x2c], edi
fcomp st(1)
mov ecx, esi
fnstsw ax
fstp st(0)
test ah, 5
jp 0x41b156
fld qword [esi + 0x30]
fstp qword [esp + 0x10]
call fcn.0041a1b0
fsubr qword [esp + 0x10]
mov ecx, esi
fstp qword [esp + 0x10]
call fcn.0041a1b0
fdivr qword [esp + 0x10]
mov ecx, esi
fmul qword [0x4628e8]
fstp qword [esp + 0x18]
fld qword [esi + 0x30]
fstp qword [esp + 0x10]
call fcn.0041a1b0
sub esp, 0x18
fstp qword [esp + 0x10]
lea eax, [esp + 0x24]
fld qword [esp + 0x28]
fstp qword [esp + 8]
fld qword [esp + 0x30]
fstp qword [esp]
push str._.2f___.3f___.3f
push eax
call fcn.00403630
add esp, 0x20
jmp 0x41b184
call fcn.0041a1b0
sub esp, 8
fstp qword [esp]
push 0x46512c
fld qword [0x462900]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x20]
push str._.2f___s___.3f
push ecx
call fcn.00403630
add esp, 0x1c
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401540
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41b1bb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42dd69
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x460073
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x47a698
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], 0x4631e8
mov dword [esp + 0x14], ebx
mov dword [ecx], 0x47a698
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x46292f
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0042cf50
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
mov eax, dword [0x47a6a8]
test eax, eax
jne 0x430dbc
xor eax, eax
ret
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [esp + 0x14]
sub eax, edi
cmp eax, ebx
jae 0x430dfe
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov eax, dword [0x47a6a8]
push 6
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x430e05
push 1
call ebp
call esi
sub eax, edi
cmp eax, ebx
jb 0x430de0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x430f90
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x430fa8
push 0
push 1
push str.http:__www.sina.com.cn
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
ret
mov eax, 1
ret
Function at 0x431890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4602c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
push edi
push ecx
mov byte [esp + 0x24], 1
call fcn.00403630
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
push esi
call fcn.00401540
mov ebp, dword [esp + 0x30]
add eax, 0x10
mov dword [ebp], eax
add esp, 0x10
mov byte [esp + 0x18], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43191b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43193d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x431c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
xor esi, esi
push edi
mov dword [esp + 8], esi
call fcn.00452896
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x18], esi
call fcn.00431160
push eax
lea ecx, [esp + 0x10]
push 0x462dc8
push ecx
call fcn.00403630
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
push esi
call fcn.00401540
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
add esp, 0x14
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x431ca7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4320f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x477e98]
push ebx
push esi
push edi
push 0
push 0
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
je 0x432201
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [esi], eax
je 0x432201
mov ebx, dword [ebp + 8]
jmp 0x432140
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x18
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00401a20
test ebx, ebx
je 0x4321ce
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x4321d2
push ebx
push ecx
call fcn.004393d4
add esp, 8
test eax, eax
je 0x4321ce
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x14], eax
jne 0x4321d2
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4321b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x84]
call fcn.00438ac6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4321ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [esi], eax
jne 0x432140
mov ecx, dword [esp + 0x84]
xor eax, eax
call fcn.00438ac6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push 0x46292f
lea ecx, [esp + 4]
call fcn.00401a20
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
sub eax, edx
push eax
push 0xa
mov dword [esp + 0x24], 0
call fcn.0041fed0
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
add esp, 8
fst qword [esp + 0xc]
fmul qword [0x467c30]
fld qword [0x462820]
fstp qword [esp + 4]
fld qword [esp + 0x24]
fcomp qword [0x462820]
fnstsw ax
test ah, 0x41
jne 0x4328fa
fadd qword [esp + 0x24]
fstp qword [esp + 4]
jmp 0x432917
fld qword [esp + 0x24]
fcomp qword [0x462820]
fnstsw ax
test ah, 5
jp 0x432915
fld qword [esp + 0x24]
fsub st(1)
fstp qword [esp + 4]
fstp st(0)
fld qword [esp + 4]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 8]
push str.fValue__dAdd_f__r_n
push ecx
call fcn.00403630
fld qword [esp + 0x14]
fdiv qword [esp + 0x1c]
add esp, 0x10
call fcn.00439864
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
fmul qword [esp + 0xc]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
fst qword [esp + 0x24]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43297b
mov ecx, dword [eax]
fstp st(0)
mov edx, dword [ecx]
push eax
call dword [edx + 4]
fld qword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x434db0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
push 0xc
push str.Shutdown_OK.
mov ecx, ebx
call fcn.004016c0
lea eax, [esp + 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x434df7
push 0x1a
push str.Open_ProcessToken_failed
mov ecx, ebx
call fcn.004016c0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x18]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x434e56
push 0x27
push str.Adjust_Token_Privileges_enable_failed
mov ecx, ebx
call fcn.004016c0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
push 1
push 0x3c
push str.____
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
test eax, eax
jne 0x434e82
push str.Initiate_System_Shutdown_failed
mov ecx, ebx
call fcn.004019e0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x467e6c
call fcn.00401a20
call fcn.004091f0
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
mov dword [esp + 0x38], 0
call esi
call edi
test eax, eax
je 0x434ec9
push str.Adjust_Token_Privileges_disable_failed
mov ecx, ebx
call fcn.004019e0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x18
ret
Function at 0x435030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4607b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
push 0x46292f
lea ecx, [esp + 0x10]
call fcn.00401a20
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x28], 0
call fcn.00434900
mov esi, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push ecx
push edi
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x38], 1
call fcn.004349b0
mov esi, dword [esi]
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push esi
push eax
mov byte [esp + 0x44], 2
call fcn.00434700
mov esi, eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 0x24
mov byte [esp + 0x20], 1
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4350cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4350ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x435127
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x435110
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, 2
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
call fcn.004331f0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], ebp
jne 0x435174
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x43515d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x43518b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43ac36
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0043a550
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43acd1
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x47c678]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x43acd1
cmp eax, 1
je 0x43acf2
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43acd1
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x43ac9e
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x43accd
xor eax, eax
inc eax
jmp 0x43ad11
cmp edi, eax
jae 0x43acd5
xor eax, eax
jmp 0x43ad11
cmp eax, esi
jae 0x43acdc
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x47c678]
jmp 0x43acf5
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43ba6d
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x46abc8
call fcn.0043c328
mov edi, 0x94
mov eax, edi
call fcn.0043a550
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x47c678], ecx
mov eax, dword [esi + 4]
mov dword [0x47c684], eax
mov edx, dword [esi + 8]
mov dword [0x47c688], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x47c67c], esi
cmp ecx, 2
je 0x43bacd
or esi, 0x8000
mov dword [0x47c67c], esi
shl eax, 8
add eax, edx
mov dword [0x47c680], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x43bb08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43bb08
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43bb20
cmp eax, 0x20b
je 0x43bb0d
mov dword [ebp - 0x1c], esi
jmp 0x43bb34
cmp dword [ecx + 0x84], 0xe
jbe 0x43bb08
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x43bb2e
cmp dword [ecx + 0x74], 0xe
jbe 0x43bb08
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00442125
pop ecx
test eax, eax
jne 0x43bb48
push 0x1c
call fcn.0043ba49
pop ecx
call fcn.0043e53e
test eax, eax
jne 0x43bb59
push 0x10
call fcn.0043ba49
pop ecx
call fcn.00444ade
mov dword [ebp - 4], esi
call fcn.00441dee
test eax, eax
jge 0x43bb72
push 0x1b
call fcn.0043ba24
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x47e150], eax
call fcn.004449bc
mov dword [0x47c668], eax
call fcn.0044491a
test eax, eax
jge 0x43bb98
push 8
call fcn.0043ba24
pop ecx
call fcn.004446e7
test eax, eax
jge 0x43bba9
push 9
call fcn.0043ba24
pop ecx
push 1
call fcn.0043ce01
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x43bbbf
push eax
call fcn.0043ba24
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0044468a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x43bbe0
movzx eax, word [ebp - 0x40]
jmp 0x43bbe3
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0044c07e
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x43bc01
push edi
call fcn.0043cf2e
call fcn.0043cf50
jmp 0x43bc33
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0043c363
ret
Function at 0x43ce6b
Capabilities:
Terminate process

Disassembly:
push 8
push 0x46acb0
call fcn.0043c328
push 8
call fcn.0044052e
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x47c6b8], esi
jne 0x43ce9f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x47c6b4], esi
mov al, byte [ebp + 0x10]
mov byte [0x47c6b0], al
cmp dword [ebp + 0xc], edi
jne 0x43cee9
cmp dword [0x47e148], edi
je 0x43ced9
mov eax, dword [0x47e144]
sub eax, 4
mov dword [0x47e144], eax
cmp eax, dword [0x47e148]
jb 0x43ced9
mov eax, dword [eax]
cmp eax, edi
je 0x43ceba
call eax
jmp 0x43ceba
push 0x4770f8
mov eax, 0x4770f0
call fcn.0043cde9
pop ecx
push 0x477104
mov eax, 0x4770fc
call fcn.0043cde9
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x43cf1a
cmp dword [ebp + 0x10], edi
jne 0x43cf28
mov dword [0x47c6b8], esi
push dword [ebp + 8]
call fcn.0043cda7
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x43cf27
push 8
call fcn.00440479
pop ecx
ret
call fcn.0043c363
ret

Function at 0x43d05f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x43d07c
call fcn.0043c7b5
mov dword [eax], 0x16
xor eax, eax
jmp 0x43d0e6
push esi
push 0x8c
push 1
call fcn.0043d80b
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x43d0d1
push esi
call fcn.0043e344
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x43d0af
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x43cfca
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43d0e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0043abc5
test ebx, ebx
pop ecx
je 0x43d0e3
push ebx
call fcn.0043c7c7
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4418de
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x441ab2
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x47cde0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x441ab2
test cl, 0x48
je 0x441949
cmp byte [eax + 5], 0xa
je 0x441949
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44199b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x441983
call fcn.0043c7b5
mov dword [eax], 9
call fcn.0043c7be
mov dword [eax], esi
jmp 0x441993
cmp eax, 0x6d
je 0x441ab2
push eax
call fcn.0043c7c7
pop ecx
or eax, 0xffffffff
jmp 0x441ab4
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x441aad
test eax, eax
je 0x4419c2
cmp byte [ebx], 0xa
jne 0x4419c2
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4419cb
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x441aa7
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x441a97
cmp al, 0xd
je 0x4419fd
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x441a89
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x441a17
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x441a12
add dword [ebp + 0x10], 2
jmp 0x441a6b
mov dword [ebp + 0x10], eax
jmp 0x441a85
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441a3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x441a85
cmp dword [ebp - 0xc], 0
je 0x441a85
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x441a60
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x441a6b
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x441a88
cmp ebx, dword [ebp + 0xc]
jne 0x441a70
cmp byte [ebp - 1], 0xa
jne 0x441a70
mov byte [ebx], 0xa
jmp 0x441a88
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00441fec
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x441a89
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4419e1
jmp 0x441aa7
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x441aa7
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x441ab4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret