joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
lea eax, [ebp - 0x30]
push 0x444910
push eax
push 0x20
push ecx
push edx
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x42e5eb
nop word cs:[eax + eax]
nop dword [eax]
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x42e5c0
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42e608
mov ecx, ebx
call fcn.0044b5b0
cmp al, 0xb
jne 0x42e5fd
mov ebx, dword [esi + 8]
mov dword [ebp - 0x10], edi
xor edi, edi
jmp 0x42e620
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov ecx, ebx
call fcn.0044b5b0
cmp al, 0xb
je 0x42e5e1
mov dword [edi], 0
mov dword [edi + 4], ebx
jmp 0x42e641
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
cmp edi, 0x21
jae 0x42e65b
mov eax, dword [esi]
mov ebx, dword [esi + 8]
mov ecx, esi
sub eax, ebx
cmp eax, edi
jb 0x42e649
mov eax, dword [esi + 4]
add eax, ebx
push edi
lea ecx, [ebp - 0x50]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
add ebx, edi
mov dword [esi + 8], ebx
mov dword [eax + 4], edi
mov byte [eax], 4
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, ebx
push edi
call fcn.0040d650
add esp, 4
mov ebx, dword [esi + 8]
jmp 0x42e620
push 0x4a057c
push 0x20
push edi
call fcn.004847e0
nop dword [eax + eax]

Function at 0x4386a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.00471a00
add esp, 0xc
mov eax, dword [ebp - 0x20]
cmp eax, 0x80000000
jne 0x438717
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x438743
call sub.WS2_32.dll_WSAGetLastError
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x43875f
jmp 0x43876b
mov ecx, dword [0x4a0e50]
mov edx, dword [0x4a0e54]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x43876b
push 1
push eax
push dword [ebp - 0x1c]
call fcn.00402ec0
add esp, 0x40
jmp 0x43876e
mov ecx, dword [ebp - 0x10]
movzx eax, word [ebp + 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x43876b
push 1
push ebx
push edi
call fcn.00402ec0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x439560
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1024
call fcn.00499c80
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x1030]
push 0x1000
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push 0x444910
push eax
push 0x1000
push ebx
push edi
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x439686
mov dword [ebp - 0x10], edi
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x4395be
cmp dword [ebp - 0x18], 0
jne 0x439695
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x439695
cmp ebx, 0x1000
ja 0x4396bd
xor edi, edi
mov eax, ebx
sub eax, edi
jb 0x4396ac
xorps xmm0, xmm0
lea edx, [ebp - 0x1c]
lea ecx, [ebp + edi - 0x1030]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], edx
push 0x444910
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
push esi
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x43968d
nop word [eax + eax]
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x439630
cmp dword [ebp - 0x18], 0
jne 0x439692
add edi, dword [ebp - 0x14]
cmp edi, ebx
jne 0x4395f0
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
push 0x444910
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x1030]
push eax
mov edi, dword [ebp - 0x10]
push edi
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
jne 0x4395be
call sub.KERNEL32.dll_GetLastError
jmp 0x439695
call sub.KERNEL32.dll_GetLastError
mov edi, dword [ebp - 0x10]
push edi
call sub.KERNEL32.dll_CloseHandle
push esi
call sub.KERNEL32.dll_CloseHandle
add esp, 0x1024
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a21a0
push ebx
push edi
call fcn.00484840
add esp, 0xc
jmp 0x4396d0
push 0x4a21a0
push 0x1000
push ebx
call fcn.004847e0
add esp, 0xc
ud2

Function at 0x43df10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [ebp - 0x24]
push dword [ebp + 8]
call fcn.0044bca0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x80000000
je 0x43df64
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.004434c0
add esp, 4
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
cmp ebx, 0x80000000
jne 0x43df71
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov dword [esi], edi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
push edi
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x43df86
mov byte [esi], 4
test ebx, ebx
jne 0x43df95
jmp 0x43df69
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x43df69
add ebx, ebx
push 2
push ebx
push edi
call fcn.00402ec0
add esp, 0x30
jmp 0x43df6c
Function at 0x440a60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [ebp + 0x10]
call 0x440a71
pop eax
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 4]
mov edi, dword [esi + 8]
mov eax, ecx
sub eax, edi
jb 0x440b58
mov ecx, dword [ebp + 0xc]
mov ebx, dword [esi]
mov edx, dword [ecx]
add ebx, edi
sub esp, 8
lea ecx, [ebp - 0x18]
push 0
push 0
push eax
push ebx
call fcn.00440e60
add esp, 0x18
movzx edx, byte [ebp - 0x18]
cmp edx, 4
jne 0x440ac7
add edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [esi + 8], edi
mov byte [ecx], 4
mov eax, dword [esi + 0xc]
cmp eax, edi
cmova edi, eax
mov dword [esi + 0xc], edi
jmp 0x440b4e
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
add eax, dword [edx*4 + 0x440b90]
jmp eax
mov eax, ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x49e5c8
push ecx
push edi
call fcn.00484780
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x440b7c
push dword [esi + 8]
push eax
push dword [ebp - 0x10]
call fcn.00402ec0
add esp, 0xc
push 4
push 0xc
push edi
call fcn.00402ec0
add esp, 0xc
push ebx
call fcn.00496790
nop
je 0x440b92
add byte [eax], al
xchg ecx, eax
add byte [eax], al
add byte [ebp], ah
add byte [eax], al
add byte gs:[eax], al
add byte [ebp - 0x77], dl
in eax, 0x53
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
lea ebx, [ebp - 0x10]
push edx
push ebx
push ecx
push eax
push dword [edi]
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x440bea
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], eax
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x6d
je 0x440c04
cmp eax, 0x3e5
jne 0x440c14
mov dword [esi + 4], 0
jmp 0x440bdc
mov dword [esi + 4], 1
mov dword [esi + 8], 0
jmp 0x440bdc
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov eax, 1
jmp 0x440bde
Function at 0x440e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x440ea4
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x440eaa
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x440edd
push 0xffffffffffffffff
push edi
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [esp + 8]
cmp eax, 0xc0000011
jne 0x440eed
mov dword [esi + 4], 0
jmp 0x440eff
cmp eax, 0x103
je 0x440f18
test eax, eax
js 0x440f0a
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x440f02
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x4a1df0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.0042f390
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.00405d90
mov ecx, 7
int 0x29
ud2

Function at 0x440f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x440fc4
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x440fca
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x441004
push 0xffffffffffffffff
push edi
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x441028
test eax, eax
js 0x441013
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov al, 4
jmp 0x44101e
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x4a1df0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.0042f390
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.00405d90
mov ecx, 7
int 0x29
ud2
Function at 0x441550
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, 0x17
cmp word [eax], 0
mov eax, 2
cmove ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call sub.WS2_32.dll_WSASocketW
cmp eax, 0xffffffff
je 0x441594
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2726
je 0x4415a7
cmp eax, 0x2739
jne 0x4415d0
push 1
push 0
push 0
push 0
push edi
push ebx
call sub.WS2_32.dll_WSASocketW
cmp eax, 0xffffffff
je 0x4415d8
mov edi, eax
push 0
push 1
push eax
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x4415e8
mov dword [esi + 4], edi
jmp 0x44158a
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x44158d
call sub.WS2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x44158d
call sub.KERNEL32.dll_GetLastError
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esi], 0
shr ecx, 8
shl edx, 0x18
mov byte [esi + 7], al
mov dword [esi + 1], edx
mov word [esi + 5], cx
push edi
call sub.WS2_32.dll_closesocket
jmp 0x44158d
Function at 0x441b90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov edi, 0x7fffffff
pxor xmm0, xmm0
lea ebx, [esp + 8]
lea eax, [esp + 0x20]
mov dword [esp + 8], pe_nt_image_headers32
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
cmp ecx, 0x7fffffff
cmovb edi, ecx
mov ecx, dword [ebp + 0x10]
push ebx
push eax
push ecx
push edi
push dword [ebp + 8]
push edx
call sub.WS2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x441c5e
movzx edx, word [esp + 0x20]
mov ecx, dword [esp + 8]
cmp edx, 0x17
je 0x441cca
cmp edx, 2
jne 0x441cb7
cmp ecx, 0xf
jbe 0x441d5d
movzx edx, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
rol dx, 8
mov dword [esp + 0xc], ecx
movd xmm0, ecx
mov word [esp + 0x10], dx
pslld xmm0, 0x10
movups xmm1, xmmword [esp + 0xe]
jmp 0x441cf2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x441d09
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 0x17
je 0x441d18
cmp ecx, 2
jne 0x441cb7
cmp eax, 0xf
jbe 0x441d5d
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
rol cx, 8
mov dword [esp + 0xc], eax
movd xmm0, eax
mov word [esp + 0x10], cx
pslld xmm0, 0x10
movups xmm1, xmmword [esp + 0xe]
jmp 0x441d3c
mov byte [esp + 0xe], 2
mov eax, 0x4a2d78
mov ecx, dword [esp + 0xe]
mov dword [esi + 8], ecx
jmp 0x441d0d
cmp ecx, 0x1b
jbe 0x441d6e
movzx ecx, word [esp + 0x22]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
movups xmm1, xmmword [esp + 0x28]
mov ebx, 1
movd xmm0, ebx
rol cx, 8
mov dword [esi], eax
movd dword [esi + 4], xmm0
movups xmmword [esi + 8], xmm1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
mov word [esi + 0x20], cx
jmp 0x441d55
mov byte [esi + 8], 0
mov dword [esi + 0xc], eax
mov word [esi + 4], 2
jmp 0x441d55
cmp eax, 0x1b
jbe 0x441d6e
movzx eax, word [esp + 0x22]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
movups xmm1, xmmword [esp + 0x28]
mov edi, 1
movd xmm0, edi
rol ax, 8
mov dword [esi], 0
movd dword [esi + 4], xmm0
movups xmmword [esi + 8], xmm1
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov word [esi + 0x20], ax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a2d04
push 0x42
push str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.0047ecf0
push 0x4a2d58
push 0x43
push 0x4a2d14
call fcn.0047ecf0
nop
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, esi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00441b90
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x444510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, ecx
sub eax, ebx
jb 0x4445c2
mov ecx, dword [esi]
xorps xmm0, xmm0
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], edi
lea edi, [ebp - 0x30]
add ecx, ebx
push 0x444910
push edi
push eax
push ecx
push edx
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x444583
nop dword [eax]
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x444560
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4445a3
mov ecx, edi
call fcn.0044b5b0
cmp al, 0xb
jne 0x444595
jmp 0x4445b4
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov ecx, edi
call fcn.0044b5b0
cmp al, 0xb
je 0x4445b4
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [eax], 0
jmp 0x4445ba
add ebx, dword [ebp - 0x14]
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
cmova ebx, eax
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 0x10]
mov byte [eax], 4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x49e5c8
push ecx
push ebx
call fcn.00484780
nop

Function at 0x444c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [edx], 0
mov edi, edx
jne 0x444d12
mov ebx, dword [edi + 0xc]
mov esi, ecx
mov edx, dword [ebx]
test edx, edx
jne 0x444c6c
mov eax, dword [ebx + 8]
xor edx, edx
lea ecx, [eax + 0xf]
cmp ecx, 0xf
jbe 0x444ce1
mov eax, dword [ebx + 8]
cmp edx, eax
je 0x444cfc
mov ecx, dword [edi + 8]
sub edx, eax
add eax, dword [ebx + 4]
mov dword [ebp - 0x24], 0
lea ebx, [ebp - 0x24]
push ecx
push ebx
push edx
push eax
push dword [edi + 0x10]
call sub.KERNEL32.dll_ReadFile
test eax, eax
je 0x444ca7
mov eax, dword [ebp - 0x24]
mov ecx, 2
test eax, eax
jne 0x444cc4
jmp 0x444cb8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
je 0x444cbf
cmp eax, 0x6d
jne 0x444cd6
mov word [esi], 4
jmp 0x444cce
mov ecx, 1
mov dword [edi], ecx
mov dword [edi + 4], eax
mov word [esi], 0x104
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x444cce
mov edx, eax
mov ecx, ebx
push 0x10
call fcn.0040d650
add esp, 4
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
cmp edx, eax
jne 0x444c77
mov ecx, ebx
push 1
call fcn.0040d650
add esp, 4
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
jmp 0x444c77
lea edx, [ebp - 0x24]
mov ecx, edi
mov dword [ebp - 0x24], 0
call fcn.00407c70
nop word cs:[eax + eax]
nop dword [eax]
Function at 0x449410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
lea ecx, [ebp - 0x28]
push dword [ebp + 8]
call fcn.0044bca0
add esp, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp edx, 0x80000000
jne 0x449449
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 0x80000000
jmp 0x449468
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
call fcn.0043d400
mov edi, dword [ebp - 0x18]
cmp edi, 0x80000000
jne 0x44947b
lea ecx, [ebp - 0x18]
call fcn.00406430
mov dword [esi], 0x80000000
add esp, 0x28
jmp 0x4494b7
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push ebx
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x44949f
mov eax, dword [ebp - 0x1c]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
add esp, 0x28
jmp 0x4494b7
test edi, edi
mov dword [esi], 0x80000000
je 0x44949a
add edi, edi
push 2
push edi
push ebx
call fcn.00402ec0
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44a040
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
xorps xmm0, xmm0
movaps xmmword [esp], xmm0
mov eax, esp
push 0x10
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x44a085
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], eax
lea edi, [esp + 0x20]
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0x4a22e4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0x4296b0
mov dword [esp + 0x34], 1
lea eax, [esp + 0x28]
push 0x4a2314
push eax
call fcn.0047ec60
add esp, 8
ud2
Function at 0x44ac90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [0x4b9b38]
mov ebx, dword [ebp + 0x10]
movzx eax, byte [eax]
push 4
push 8
call fcn.00402eb0
add esp, 8
test eax, eax
je 0x44ad2b
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x44ad80
push eax
push 0
call sub.KERNEL32.dll_CreateThread
test eax, eax
je 0x44ace3
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x44ad21
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
mov dword [ebp - 0x10], ecx
push ecx
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x44ad09
push dword [ebx + 8]
push eax
push dword [ebp - 0x10]
call fcn.00402ec0
add esp, 0xc
push 4
push 8
push esi
call fcn.00402ec0
add esp, 0xc
call sub.KERNEL32.dll_GetLastError
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ebx
mov ebx, dword [ebp + 0x14]
push 8
push 4
call fcn.00471180
add esp, 8
ud2

Function at 0x44af70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x44afe0
lea ebx, [edi + 0xc]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push ebx
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
mov dword [ebp - 0x10], eax
jne 0x44b01a
cmp dword [ebp - 0x14], 0
je 0x44b001
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x44b037
mov esi, eax
inc eax
mov dword [edi], eax
mov eax, dword [0x4ce124]
mov dword [edi + 8], eax
lock cmpxchg dword [0x4ce124], edi
jne 0x44afc0
mov byte [0x4ce120], 1
push 0
push 0
push ebx
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x44b010
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x44b072
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [edi], ecx
jne 0x44b005
mov esi, dword [ebp - 0x10]
jmp 0x44b010
mov esi, dword [edi]
jmp 0x44b00f
mov esi, eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_TlsFree
dec esi
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov edx, 0x4a2174
push 0x4a2798
push eax
call fcn.00407ca0
push 0
push 4
push ebx
call sub.KERNEL32.dll_InitOnceComplete
mov dword [ebp - 0x2c], 0x4a274c
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0x49e4b0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push 0x4a2788
push eax
call fcn.0047ec60
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4a274c
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x49e4b0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00407c10