joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d610
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x12c]
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x42d68c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 8], eax
cmp eax, 0x2733
jne 0x42d661
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
pop ebp
ret
push eax
push esi
call fcn.00431260
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.0042d360
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x855c], edx
add esp, 0x14
mov dword [ebx], 0x37
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [eax], 0
call fcn.004346d0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x128]
push ecx
mov ecx, dword [esi + 0x124]
push ecx
push edx
push eax
call fcn.00434700
mov ebx, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, ebx
jg 0x42f37c
mov edi, dword [ebp + 0x14]
mov edx, ebx
sub edx, eax
mov eax, dword [ebp + 0xc]
push edx
push 0xffffffffffffffff
push eax
call fcn.0042c900
add esp, 0xc
test eax, eax
jle 0x42f399
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
push edi
push edx
push eax
call fcn.0042cfc0
add esp, 0x10
cmp eax, 0x51
je 0x42f35b
test eax, eax
jne 0x42f39c
mov eax, dword [ebp - 8]
cmp edi, eax
je 0x42f388
test eax, eax
je 0x42f399
add dword [ebp + 0x10], eax
sub edi, eax
add dword [ebp - 4], eax
call fcn.004346d0
mov ecx, dword [esi + 0x128]
push ecx
mov ecx, dword [esi + 0x124]
push ecx
push edx
push eax
call fcn.00434700
add esp, 0x10
cmp eax, ebx
jle 0x42f313
pop edi
pop esi
mov eax, 0x1c
pop ebx
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4313c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x431408
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43142f
shr eax, 8
test al, al
jne 0x43142f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0042d360
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 8
mov eax, 2
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x4315b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [edi + 0x12c]
push ebx
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [ebp - 4]
mov ebx, eax
mov al, byte [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0xff
mov byte [ebp - 3], al
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4315f5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, ebx
mov ebx, str.SENT
call fcn.004314b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x864c]
mov ecx, dword [eax + ebx*4 + 0xc08]
dec ecx
je 0x431752
dec ecx
je 0x43172e
dec ecx
jne 0x4317a8
mov ecx, dword [eax + ebx*4 + 0x1008]
xor edx, edx
sub ecx, edx
je 0x431721
dec ecx
jne 0x4317a8
mov dword [eax + ebx*4 + 0xc08], 2
mov dword [eax + ebx*4 + 0x1008], edx
push 0xfd
mov eax, ebx
call fcn.004315b0
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [eax + ebx*4 + 0xc08], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + ebx*4 + 0x1008]
xor edx, edx
sub ecx, edx
je 0x431721
dec ecx
jne 0x4317a8
pop edi
mov dword [eax + ebx*4 + 0xc08], edx
mov dword [eax + ebx*4 + 0x1008], edx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
xor edx, edx
push edx
push 3
mov dword [eax + ebx*4 + 0xc08], edx
mov edx, dword [edi + 0x12c]
mov esi, dword [edi]
lea ecx, [ebp - 4]
push ecx
push edx
mov word [ebp - 4], 0xfeff
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x431794
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov ecx, dword [edi]
mov eax, ebx
mov esi, 0xfe
mov ebx, str.SENT
call fcn.004314b0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x864c]
mov ecx, dword [eax + ebx*4 + 8]
dec ecx
je 0x4318d6
dec ecx
je 0x4318b5
dec ecx
jne 0x431929
mov ecx, dword [eax + ebx*4 + 0x408]
xor edx, edx
sub ecx, edx
je 0x4318ab
dec ecx
jne 0x431929
mov dword [eax + ebx*4 + 8], 2
mov dword [eax + ebx*4 + 0x408], edx
push 0xfb
mov eax, ebx
call fcn.004315b0
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [eax + ebx*4 + 8], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + ebx*4 + 0x408]
xor edx, edx
sub ecx, edx
je 0x4318ab
dec ecx
jne 0x431929
pop edi
mov dword [eax + ebx*4 + 8], edx
mov dword [eax + ebx*4 + 0x408], edx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
xor edx, edx
push edx
push 3
mov dword [eax + ebx*4 + 8], edx
mov edx, dword [edi + 0x12c]
mov esi, dword [edi]
lea ecx, [ebp - 4]
push ecx
push edx
mov word [ebp - 4], 0xfcff
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x431915
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov ecx, dword [edi]
mov eax, ebx
mov esi, 0xfc
mov ebx, str.SENT
call fcn.004314b0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432670
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x864c]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ebx
mov edi, 0x408
mov eax, dword [ebp - 0x10]
cmp dword [eax + edi + 0x400], 1
jne 0x432737
mov edx, dword [ecx]
mov eax, dword [edx + 0x864c]
mov edx, dword [edi + eax - 0x400]
sub edx, 0
je 0x4326d7
sub edx, 2
je 0x4326cc
dec edx
jne 0x432737
cmp dword [edi + eax], edx
jne 0x432737
mov dword [edi + eax], 1
jmp 0x432737
mov edx, dword [edi + eax]
dec edx
jne 0x432737
mov dword [edi + eax], edx
jmp 0x432737
push 0
mov dword [edi + eax - 0x400], 2
mov esi, dword [ecx]
mov ecx, dword [ecx + 0x12c]
push 3
lea eax, [ebp - 4]
push eax
push ecx
mov word [ebp - 4], 0xfbff
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43271b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, ebx
mov esi, 0xfb
mov ebx, str.SENT
call fcn.004314b0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov esi, 1
cmp dword [eax + edi + 0x1000], esi
jne 0x4327f3
mov edx, dword [ecx]
mov eax, dword [edx + 0x864c]
mov edx, dword [edi + eax + 0x800]
sub edx, 0
je 0x432793
sub edx, 2
je 0x43277f
sub edx, esi
jne 0x4327f3
cmp dword [edi + eax + 0xc00], edx
jne 0x4327f3
mov dword [edi + eax + 0xc00], esi
jmp 0x4327f3
mov edx, dword [edi + eax + 0xc00]
sub edx, esi
jne 0x4327f3
mov dword [edi + eax + 0xc00], edx
jmp 0x4327f3
push 0
mov dword [edi + eax + 0x800], 2
mov esi, dword [ecx]
mov ecx, dword [ecx + 0x12c]
push 3
lea eax, [ebp - 8]
push eax
push ecx
mov word [ebp - 8], 0xfdff
mov byte [ebp - 6], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4327d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0042d360
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, ebx
mov esi, 0xfd
mov ebx, str.SENT
call fcn.004314b0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
inc ebx
add edi, 4
mov dword [ebp - 0xc], ebx
cmp edi, 0x4a8
jl 0x432691
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433b20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x49355c
push ecx
call fcn.0042d2e0
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.00432cf0
test eax, eax
jne 0x433b54
mov eax, esi
pop ebp
jmp fcn.00433110
pop ebp
ret
Function at 0x433f70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, dword [ebx + 0x3b0]
mov edi, dword [ebx]
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
push edx
push eax
push ecx
mov dword [ebp - 0x8c], ebx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x434003
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.0046ba50
mov edx, dword [ebp - 0x88]
add esp, 0xc
mov dword [esi + 0x148], edx
mov ecx, dword [esi + 0x14c]
cmp ecx, 4
jge 0x434036
push str.Received_too_short_packet
push edi
call fcn.0042d360
add esp, 8
mov dword [esi + 0xc], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x15c]
movzx eax, byte [edx]
movzx edx, byte [edx + 1]
shl ax, 8
movzx eax, ax
or eax, edx
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x43405b
jmp dword [eax*4 + 0x43419c]
cmp ecx, 4
jle case.0x43405b.4
mov eax, dword [esi + 0x15c]
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl dx, 8
movzx edx, dx
or edx, eax
movzx eax, word [esi + 0x40]
inc eax
and eax, 0xffff
cmp eax, edx
jne case.0x43405b.4
add ecx, 0xfffffffc
push ecx
mov ecx, dword [esi + 0x15c]
add ecx, 4
push ecx
push 1
push ebx
call fcn.0042d770
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4340d2
mov ecx, 5
mov eax, esi
call fcn.00433ee0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
adc dword [edi + 0x3c], edx
mov edx, dword [edi + 0x3c]
push edx
push eax
push edi
call fcn.0042aef0
mov ebx, dword [ebp - 0x8c]
jmp 0x434165
mov eax, dword [esi + 0x15c]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl cx, 8
movzx edx, cx
mov ecx, dword [esi + 0x15c]
add ecx, 4
push ecx
or edx, eax
push 0x49355c
push edi
mov dword [esi + 8], edx
call fcn.0042d2e0
jmp 0x434165
mov edx, dword [esi + 0x15c]
add ecx, 0xfffffffe
push ecx
add edx, 2
push edx
push esi
call fcn.00432e60
add esp, 0xc
test eax, eax
je case.0x43405b.4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
push str.Internal_error:_Unexpected_packet
push 0x493fc8
push edi
call fcn.0042d360
add esp, 0xc
push ebx
call fcn.0042afb0
add esp, 4
test eax, eax
je 0x434023
mov ecx, 5
mov eax, esi
call fcn.00433ee0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x2a
pop ebx
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x43c8a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x43c8c2
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x43c8e2
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x43c926
mov ecx, dword [ebx + 0x50]
push 4
push 0x3000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x43c926
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x43c95e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], edx
mov edx, dword [ebp + 0x18]
push 4
mov dword [esi + 4], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov eax, dword [ebx + 0x54]
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.0046ba50
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.0043c360
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x43c9d3
push eax
mov eax, esi
call fcn.0043c4e0
add esp, 4
call fcn.0043c570
test eax, eax
je 0x43ca06
push esi
call fcn.0043c410
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
test eax, eax
je 0x43ca1f
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x43ca18
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.0043c800
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4436b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4436c3
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
lea edx, [eax + 2]
jmp 0x4436d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4436d0
sub eax, edx
sar eax, 1
push edi
mov edi, eax
cmp edi, 2
jae 0x4436f6
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi*4]
push esi
push eax
mov dword [ebp + 8], eax
call fcn.0046d5d8
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push ebx
push esi
call fcn.0046ba50
add esp, 0x10
mov eax, esi
lea ebx, [ebx]
movzx ecx, word [eax]
cmp ecx, 0x2f
jne 0x443735
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
jmp 0x443720
test cx, cx
je 0x44373f
add eax, 2
jmp 0x443720
push 0x5c
push esi
call fcn.00472009
add esp, 8
test eax, eax
jne 0x443760
push esi
call fcn.0046c650
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
push edx
push esi
mov word [eax], dx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x443786
push esi
call fcn.0046c650
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
call fcn.0046d5d8
add esp, 4
mov edi, eax
sub eax, esi
mov dword [ebp + 8], 0
mov ebx, esi
mov dword [ebp - 4], eax
movzx eax, word [ebx]
cmp eax, 0x5c
jne 0x4437d4
mov ecx, dword [ebp + 8]
push ecx
push esi
push edi
call fcn.0046ba50
mov edx, dword [ebp - 4]
add esp, 0xc
push 0
push edi
mov dword [edx + ebx], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add dword [ebp + 8], 2
add ebx, 2
jmp 0x4437a2
test ax, ax
je 0x4437e2
add dword [ebp + 8], 2
add ebx, 2
jmp 0x4437a2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test esi, esi
je 0x4437fa
push esi
call fcn.0046c650
add esp, 4
test edi, edi
je 0x443807
push edi
call fcn.0046c650
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443810
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
test eax, eax
jne 0x443829
or eax, 0xffffffff
or edx, 0xffffffff
mov esp, ebp
pop ebp
ret 0x18
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x443852
or eax, eax
or edx, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
push 0
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443890
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4438b0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x4438d6
pop edi
or eax, 0xffffffff
or edx, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0xc], 0
je 0x4438c8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push ecx
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4438c8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x443920
cmp ecx, 0xffffffff
jne 0x443920
xor eax, eax
xor ecx, ecx
push 2
push ecx
jmp 0x443926
push 0
lea edx, [ebp + 0x10]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp + 0x18], 0
jne 0x443953
cmp dword [ebp + 0x1c], 0
jne 0x443953
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443941
sub eax, edx
mov edi, eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 8]
push eax
push edi
push ecx
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x443980
or eax, 0xffffffff
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x443ca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x443cb0
xor eax, eax
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x443caa
or eax, 0xffffffff
test edx, edx
je 0x443cdd
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x4ab570]
inc ecx
dec edx
jne 0x443cc0
pop edi
pop esi
not eax
pop ebp
ret 8
Function at 0x443d70
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0x40
push esi
xor esi, esi
push edi
lea eax, [ebp + 0x14]
cmp ecx, esi
jle 0x443d99
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp + 0x18]
dec ecx
mov dword [ebp + 0x10], ecx
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
jmp 0x443d9f
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x443db8
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x28], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x24], edx
jmp 0x443dbe
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x443dd7
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x1c], edx
jmp 0x443ddd
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x443df6
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x14], edx
jmp 0x443dfc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
cdq
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.00443e31

Function at 0x443ec0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
push esi
push edi
je 0x443f2f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test eax, eax
jne 0x443edc
test ecx, ecx
je 0x443f2f
cmp dword [ebp + 0x14], 0
je 0x443f2f
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call fcn.00443eef
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x443f40
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c4
push ebx
xor edx, edx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push 0x33
call fcn.00443f5b
Function at 0x4454d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x445550
mov eax, dword [esi]
test eax, eax
je 0x44551d
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.0043da80
add esp, 0x20
test eax, eax
jne 0x44551d
mov eax, dword [ebp - 0x3c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 4]
cmp esi, 0xffffffff
je 0x445550
lea edx, [ebp - 0x64]
push edx
push esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x64]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046c641
mov esp, ebp
pop ebp
ret

Function at 0x445570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4455bc
mov ecx, dword [eax]
test ecx, ecx
je 0x445593
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push edx
push ecx
call fcn.0043de30
add esp, 0xc
pop ebp
ret
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x4455bc
mov edx, dword [ebp + 0x10]
push 0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 8]
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret