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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
call fcn.004b236e
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
mov dword [ebp - 0x10], esi
call fcn.004d2c80
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 8], 0
push 0x55e02c
mov byte [ebp + 0xf], 0
call edi
push 0x55e02c
call edi
mov eax, dword [0x55e018]
cmp eax, dword [0x55e01c]
push 0x55e02c
sete bl
call esi
test bl, bl
jne 0x441da8
mov ecx, dword [0x55e01c]
mov eax, dword [0x55e014]
mov byte [ebp + 0xf], 1
mov ebx, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x55e024]
mov dword [ebp + 8], ebx
cmovge ecx, dword [0x55e020]
mov dword [0x55e01c], ecx
jmp 0x441dab
mov ebx, dword [ebp + 8]
push 0x55e02c
call esi
cmp byte [ebp + 0xf], 0
jne 0x441dc7
push 0x3e8
call fcn.004413c0
add esp, 4
jmp 0x441d52
push dword [ebx + 0x20]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
call fcn.004b2377
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], 0
test ecx, ecx
je 0x441e03
mov eax, dword [ecx + 4]
mov dword [ebx + 0x28], eax
push 0
push ebx
push 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x441e78
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x441e78
push dword [ebx + 0x20]
call fcn.004b2377
add esp, 4
mov dword [ebx + 0x18], 0
mov ecx, 0x55e014
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
push ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.00441ad0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441e90
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov eax, ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ecx
push 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0xb5367df1
push ecx
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x11cfcbac
push ecx
push 0xc8000006
push dword [eax + 4]
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x441f28
push str.Failed_to_create_socket_in_IOCP_setup.
call fcn.004425f0
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
xor edi, edi
push ebx
push 0x55e02c
xor bh, bh
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x55e02c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x55e018]
cmp eax, dword [0x55e01c]
push 0x55e02c
sete bl
call esi
test bl, bl
jne 0x441f88
mov ecx, dword [0x55e01c]
mov bh, 1
mov eax, dword [0x55e014]
mov edi, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x55e024]
cmovge ecx, dword [0x55e020]
mov dword [0x55e01c], ecx
push 0x55e02c
call esi
test bh, bh
jne 0x441fa2
push 0x3e8
call fcn.004413c0
add esp, 4
jmp 0x441f33
push dword [edi + 0x20]
call fcn.004b2377
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ebx, dword [ebp - 0x24]
mov dword [edi + 0x28], 0
mov dword [edi + 0x18], 3
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [eax + 4]
push 0x5775d4
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push 0x20
push 0x20
push 0
push 0x577620
push ebx
push dword [eax + 4]
call dword [ebp - 0x20]
test eax, eax
jne 0x442051
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x442051
push str.AcceptEx___Failed_and_IO_aint_pending.
call fcn.004425f0
add esp, 4
mov ecx, edi
call fcn.00441cd0
push edi
mov ecx, 0x55e014
call fcn.00441ad0
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x5775d4
call esi
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret
push 0x5775d4
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004b2010
mov esp, ebp
pop ebp
ret
Function at 0x442210
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
test eax, eax
je 0x4422db
cmp eax, 0xffffffff
je 0x4422db
mov ecx, dword [0x5775b4]
push 0
push eax
call fcn.004403b0
test al, al
jne 0x44225f
push str.Startup__:_Associate_Device_failed_for_pre_created_socket.
call fcn.004425f0
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov ecx, 0x577614
push dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
call fcn.004408b0
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.00441b60
test al, al
jne 0x44236f
push str.Startup__:_Register_Receive_failed.
call fcn.004425f0
add esp, 4
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov ecx, 0x577614
call fcn.00442ec0
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x442311
push str.Startup__:_Socket_Creation_Failure.
call fcn.004425f0
add esp, 4
mov dword [esi], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x5775b4]
push 0
push eax
call fcn.004403b0
test al, al
jne 0x44233a
push str.Startup__:_Associate_Device_failed.
call fcn.004425f0
add esp, 4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov ecx, 0x577614
push dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
call fcn.004408b0
push 0x5775bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
mov ecx, 5
test eax, eax
cmove eax, ecx
mov dword [edi + 0x10], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4425f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004b27b0
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x52e6a4
push eax
call fcn.00440a10
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push 0x1000
push eax
call fcn.0043cc70
push dword [eax + 4]
push dword [eax]
call fcn.004ed3c2
add esp, 0x1c
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret
Function at 0x443780
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x577668], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
je 0x4437e1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4437ab
mov eax, dword [esi]
mov ecx, 0x577668
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4437d0
test dl, dl
je 0x4437cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4437d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4437b0
xor eax, eax
jmp 0x4437d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4437e1
mov edi, dword [0x577660]
jmp 0x443818
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4437eb
mov eax, dword [esi]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x443882
cmp dword [esi + 0x14], 0x10
jb 0x443804
mov esi, dword [esi]
push esi
push 0x577668
call fcn.00443490
add esp, 8
mov dword [0x577660], edi
push 0x33
push dword [ebx + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x443882
mov eax, dword [edi + 0xc]
mov ecx, 2
push dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44386d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x443882
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b2010
mov esp, ebp
pop ebp
ret 8
Function at 0x4439b0
Capabilities:
Create tcp socket
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
mov dword [esi + 0x18], eax
cmp edi, 0xffffffff
jne 0x4439e7
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, edi
je 0x443a7f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x443a7f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x443a7f
cmp edi, 0xffffffff
je 0x443a3f
push 0x23
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x443a7f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x443a7f
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x443570
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x443a7f
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
mov eax, 2
push edi
push dword [ebp + 0xc]
mov word [ebp - 0x14], ax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x14]
push esi
push dword [edi]
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 4]
cmp eax, 0xffffffff
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0x10
Function at 0x445ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x446091
cmp byte [esi + 0x3d], 0
je 0x446091
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x446047
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x446059
sub eax, 1
je 0x44605d
sub eax, 2
je 0x446091
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x44607a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004fc7c8
add esp, 0x10
cmp edi, eax
jne 0x446047
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004b2010
mov esp, ebp
pop ebp
ret
Function at 0x4470e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x447110
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x44714c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44714c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x447231
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x447174
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4471a7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004fbd8c
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x447231
cmp eax, 1
jle 0x447204
cmp eax, 3
jne 0x447231
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.004446d0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x447221
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004fc7c8
add esp, 0x10
cmp edi, eax
jne 0x447231
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x447137
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b2010
mov esp, ebp
pop ebp
ret 4
Function at 0x447b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x447b54
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447c20
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x447b75
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x447b77
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x447bff
jg 0x447b8a
test esi, esi
je 0x447bff
test ecx, ecx
jl 0x447bcc
jg 0x447b94
test eax, eax
je 0x447bcc
cmp ebx, ecx
jg 0x447ba6
jl 0x447b9e
cmp esi, eax
jae 0x447ba6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004d2c80
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x447bd2
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x447bff
jg 0x447bdc
test esi, esi
je 0x447bff
cmp dword [edi + 0x4c], 0
je 0x447bff
mov ecx, edi
call fcn.004465d0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.004fc0a0
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x447d14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447dd0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x447d35
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x447d37
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x447db4
jg 0x447d4a
test esi, esi
je 0x447db4
test ecx, ecx
jl 0x447d8e
jg 0x447d54
test eax, eax
je 0x447d8e
cmp edi, ecx
jg 0x447d66
jl 0x447d5e
cmp esi, eax
jae 0x447d66
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.004d2c80
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x447d91
mov edx, dword [ebp + 8]
test edi, edi
jl 0x447db4
jg 0x447d9b
test esi, esi
je 0x447db4
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x447db4
push eax
push esi
push 1
push edx
call fcn.004fc7c8
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448b90
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5754c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x100
mov ecx, eax
call fcn.00448630
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
push dword [ebp - 0x10]
call fcn.004b236e
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, edi
test edi, edi
je 0x448c71
cmp dword [esi + 0x1a0], 6
jne 0x448c6b
cmp dword [esi + 0x190], 6
jne 0x448c6b
movzx eax, byte [esi + 0x199]
mov ecx, dword [ebp - 0x1c]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
mov eax, dword [ebp - 0x18]
push str._02X__02X__02X__02X__02X__02X
sub eax, ecx
push eax
push ecx
call fcn.0043d790
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x448c12
push dword [ebp - 0x1c]
call fcn.00445f60
push edi
mov esi, eax
call fcn.004b2377
mov ecx, dword [ebp - 0x1c]
add esp, 8
test ecx, ecx
je 0x448cb4
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x448caa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448cc7
push edx
push ecx
call fcn.004b2360
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004fb007
int3
Function at 0x451280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0
cmp eax, 1
jne 0x4513e5
test esi, esi
jne 0x4512d0
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
test eax, eax
je 0x4512e5
push eax
call fcn.004b2377
add esp, 4
mov dword [edi], 0
push 0x10000
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x4513a3
push str.WAVE
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x451328
push 0x52f6b8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4513fa
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4513fa
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4513fa
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4513fa
push ebx
call fcn.004b236e
push ebx
push dword [ebp - 0x50]
mov esi, eax
push esi
call fcn.004d2c80
push 0x48
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004d3200
add esp, 0x1c
mov dword [ebp - 0x48], 0x204d454d
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
push 0x10000
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
mov ecx, edi
call fcn.004516a0
mov esi, eax
test esi, esi
jns 0x4513d0
push 0
push dword [edi + 4]
call dword [sym.imp.WINMM.dll_mmioClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc
mov ecx, edi
call fcn.004518d0
mov ecx, eax
test ecx, ecx
js 0x45142d
mov eax, dword [edi + 0xc]
mov dword [edi + 0x30], eax
jmp 0x45142d
push 0x11002
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [edi + 4], eax
test eax, eax
jne 0x451412
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ecx, edi
call fcn.00451bc0
mov esi, eax
test esi, esi
js 0x4513b0
mov ecx, edi
call fcn.004518d0
mov ecx, eax
test ecx, ecx
js 0x45142f
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b2010
mov esp, ebp
pop ebp
ret 0xc
Function at 0x451ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftDirectX
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451f74
push esi
lea eax, [ebp - 8]
push eax
push 0x577748
lea eax, [ebp - 0xc]
push eax
push 0
push str.DX8SDK_Samples_Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x451f74
mov edx, 0x577748
dec edx
mov cl, byte [edx + 1]
lea edx, [edx + 1]
test cl, cl
jne 0x451f50
mov ecx, dword [str.Media_]
mov eax, 0x577748
mov dword [edx], ecx
mov ecx, dword [0x52f714]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret
mov eax, 0x577740
mov esp, ebp
pop ebp
ret