joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a5db
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x15]
push ebx
push eax
mov byte [esp + 0x1c], bl
call fcn.004a7110
add esp, 0xc
mov edx, edi
call fcn.00475851
test eax, eax
je 0x41a626
xor eax, eax
jmp 0x41a7d2
push edi
push str._s.manifest
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.00476e0a
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x41a661
push 0x80
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.004189f3
jmp 0x41a7d2
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0041a5db
add esp, 0xc
push 0x18da
push str..File.c
mov edx, 0x4c7f54
lea ecx, [esp + 0x18]
call fcn.0041a89d
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x41a718
push 0x103
lea eax, [esp + 0x11d]
push ebx
push eax
mov byte [esp + 0x124], bl
call fcn.004a7110
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
mov ecx, 0x104
lea eax, [esp + 0x11c]
call fcn.00475883
pop ecx
call fcn.00475bc3
push eax
call fcn.00418f1c
test eax, eax
pop ecx
jne 0x41a61f
cmp dword [0x5180ac], ebx
jne 0x41a61f
push ebx
lea ecx, [esp + 0x11c]
call fcn.004191f9
pop ecx
push dword [ebp + 0x10]
mov dword [0x5180ac], 1
push dword [ebp + 0xc]
push edi
call fcn.0041a5db
add esp, 0xc
mov dword [0x5180ac], ebx
jmp 0x41a7d2
push str.__xml_version_1.0__encoding_UTF_8__standalone_yes___
push esi
call fcn.004a7470
push str._n_assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0__
push esi
call fcn.004a7470
push str._n___trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2__
push esi
call fcn.004a7470
push str._n_____security_
push esi
call fcn.004a7470
push str._n_______requestedPrivileges_
push esi
call fcn.004a7470
push str._n_________requestedExecutionLevel
push esi
call fcn.004a7470
add esp, 0x30
cmp dword [ebp + 0x10], ebx
je 0x41a769
push str._n__________level_requireAdministrator_
jmp 0x41a76e
push str._n__________level_asInvoker_
push esi
call fcn.004a7470
pop ecx
pop ecx
push str._n__________uiAccess_false___
push esi
call fcn.004a7470
push str._n________requestedPrivileges_
push esi
call fcn.004a7470
push str._n______security_
push esi
call fcn.004a7470
push str._n____trustInfo_
push esi
call fcn.004a7470
push str._n__assembly_
push esi
call fcn.004a7470
push 0x4c723c
push esi
call fcn.004a7470
add esp, 0x30
mov ecx, esi
call fcn.0041acca
push 7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret
Function at 0x41a7e7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.004a7110
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.004a7110
add esp, 0x18
cmp edi, ebx
je 0x41a88d
mov eax, edi
call fcn.004757d4
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.0043a94b
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00476e0a
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41a88d
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x41a88d
mov edx, edi
call fcn.00475851
test eax, eax
jne 0x41a88d
mov eax, edi
jmp 0x41a88f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69f5
leave
ret
Function at 0x41af8d
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.004a7110
push 0x1c8
push 1
call fcn.004a5f90
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x41afeb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41b0d4
push ebx
mov ebx, dword [0x519864]
test ebx, ebx
jne 0x41b003
call fcn.00468599
mov ebx, eax
mov dword [0x519864], ebx
push edi
call fcn.0046864b
xor ebx, ebx
cmp dword [0x519864], ebx
pop ecx
jne 0x41b028
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.004a5de4
pop ecx
jmp 0x41b0d1
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.004a7110
mov eax, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.00475883
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00475883
mov esi, eax
call fcn.00475b80
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.00475883
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.00498efc
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.004757d4
push ebx
push ebx
push edi
push 0x41af49
push ebx
push ebx
mov dword [edi + 0xac], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [edi + 0xa8], eax
jne 0x41b0d3
mov eax, edi
call fcn.0041af01
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a69f5
leave
ret 0x10

Function at 0x41b0e4
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [0x519864]
xor ebx, ebx
call fcn.00468887
xor esi, esi
jmp 0x41b119
cmp esi, 0x56ce
jge 0x41b121
cmp ebp, dword [eax + 0xa8]
je 0x41b11f
mov edi, dword [0x519864]
call fcn.004688d3
inc esi
test eax, eax
jne 0x41b0fd
jmp 0x41b121
mov ebx, eax
mov eax, ebx
call fcn.0041af01
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41cef9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x104
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
mov eax, dword [0x519bc0]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, 0x90
jne 0x41cf55
push esi
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.004a7110
lea edi, [esi + 4]
push edi
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004a7110
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x10]
mov dword [0x519bc0], eax
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x41cf87
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor byte [ebp + 4], bl
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
add esi, eax
jmp 0x41cfa7
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push ebx
push 0x45
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x45
push esi
call edi
mov esi, ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69f5
add ebp, 0x78
leave
ret

Function at 0x41cfea
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
movzx eax, ax
shr eax, 0xf
ret
Function at 0x42272d
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor eax, eax
cmp dword [eax*4 + 0x5f3eb8], ebp
je 0x422745
inc eax
cmp eax, 2
jl 0x422736
xor ebx, ebx
cmp eax, 2
mov edi, 0x6cc5c
jge 0x42282d
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x51a600
inc ebx
mov dword [eax*4 + 0x5f3eb8], ebx
push edi
push ebp
push esi
call fcn.004a7110
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x422785
push ebp
push ebp
mov dword [esi + 0x37608], ebx
call fcn.00459ede
push eax
push 0x4c544c
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.00476e0a
add esp, 0x18
push str.PaulaConfig.cfg
push ebp
push ebp
call fcn.00459cf0
pop ecx
pop ecx
push eax
mov ebx, 0x4c64d0
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.00476e0a
add esp, 0x14
push str.PaulaEmpConfig.cfg
push ebp
push ebp
call fcn.00459cf0
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.00476e0a
add esp, 0x14
xor eax, eax
call fcn.0042285c
cmp eax, ebp
je 0x422814
push esi
mov ebx, eax
call fcn.0046864b
pop ecx
push esi
call fcn.00433613
pop ecx
mov ecx, 0x436259
call fcn.0043c041
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push edi
inc ebx
push ebx
call fcn.004a5f90
mov esi, eax
cmp esi, ebp
pop ecx
pop ecx
jne 0x42276b
push str._n_nERROR:_OUT_OF_MEMORY__Could_not_create_PAULA_object_
call fcn.0040dc4a
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x422827
Function at 0x4339a5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], 0
call fcn.004a7110
add esp, 0xc
push 5
call fcn.0040dc4a
pop ecx
call fcn.00471182
test eax, eax
je 0x433bb0
mov eax, dword [ebp + 8]
dec eax
je 0x433b0a
dec eax
dec eax
je 0x433a85
dec eax
je 0x433bb0
dec eax
je 0x433bb0
push ebx
push ebx
call fcn.00459cf0
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004a708e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.00418e6b
test eax, eax
je 0x433a63
push 1
call fcn.00473eea
test eax, eax
pop ecx
je 0x433a50
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push str._n_n
call fcn.0040dc4a
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.0040dc4a
mov dword [esp], str._n___Please_press_any_key_to_terminate_this_window...
jmp 0x433b88
push ebx
push ebx
call fcn.00459cf0
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004a708e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.00418e6b
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x3e8
je 0x433add
push 1
call fcn.00473eea
test eax, eax
pop ecx
je 0x433aca
push edi
call esi
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
call fcn.0040ce61
push str._n_nPAULA_has_left..._n
call fcn.0040f4b9
pop ecx
push 3
pop ebx
push ebx
push str._rThis_screen_will_terminate_in__d_seconds.
call fcn.0040f4b9
pop ecx
pop ecx
push edi
call esi
dec ebx
test ebx, ebx
jg 0x433af0
jmp 0x433bb0
push ebx
push ebx
call fcn.00459cf0
push eax
lea eax, [ebp - 0x110]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.004a708e
add esp, 0x14
lea edi, [ebp - 0x110]
call fcn.00418e6b
test eax, eax
je 0x433b5f
push 1
call fcn.00473eea
test eax, eax
pop ecx
je 0x433b4c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push str._n_n
call fcn.0040dc4a
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.0040dc4a
mov dword [esp], str._n___You_will_have_to_reclick_Paula_to_get_her_to_come_back.
call fcn.0040dc4a
mov dword [esp], str._n___Press_any_key_to_close_this_window...
call fcn.0040dc4a
mov dword [esp], str._n_n_n_n
call fcn.0040dc4a
mov dword [esp], str.Press_any_key_to_exit..._n_n_n_n_n_n_n
call fcn.0040dc4a
pop ecx
mov eax, 0xea60
call fcn.0041dd6d
call fcn.00433607
push dword [ebp + 8]
call fcn.004a9b27
int3
Function at 0x43adaa
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x98]
push esi
mov esi, ecx
test esi, esi
push edi
mov dword [ebp - 0x80], eax
jg 0x43addb
mov esi, 0x200
push 1
push 0x1f0
call fcn.004a5f90
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x43adf6
xor eax, eax
jmp 0x43aee3
lea eax, [esi + 0xa]
push eax
push 1
call fcn.004a5f90
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x43ae12
push edi
call fcn.004a5de4
pop ecx
jmp 0x43adef
and dword [edi + 4], 0
and dword [edi + 0xc], 0
inc dword [0x5f6098]
mov eax, dword [0x5f6098]
push ebx
mov ebx, dword [0x5f6094]
test ebx, ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 8], esi
jne 0x43ae43
call fcn.00468599
mov ebx, eax
mov dword [0x5f6094], ebx
push edi
call fcn.0046864b
cmp dword [0x5f6094], 0
pop ecx
jne 0x43ae66
push dword [edi]
call fcn.004a5de4
push edi
call fcn.004a5de4
pop ecx
pop ecx
xor eax, eax
jmp 0x43aee2
lea ebx, [edi + 0x30]
push str..Message.c
push ebx
call fcn.0041b39e
pop ecx
pop ecx
mov esi, str.A_Message_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041b599
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041b5c2
cmp dword [ebp - 0x80], 0
mov eax, dword [ebp + 0x94]
mov dword [edi + 0x10], eax
je 0x43aed9
push 0x103
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.004a7110
push dword [ebp - 0x80]
mov ecx, 0x104
lea eax, [ebp - 0x7c]
call fcn.00475883
mov esi, eax
call fcn.00475b80
mov eax, esi
push eax
push 0x16
lea eax, [edi + 0x14]
pop ecx
call fcn.00475883
add esp, 0x14
mov eax, edi
call fcn.0043bad8
mov eax, edi
pop ebx
mov ecx, dword [ebp + 0x88]
pop edi
xor ecx, ebp
pop esi
call fcn.004a69f5
add ebp, 0x8c
leave
ret

Function at 0x43b6b2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x43b722
cmp byte [ebx], 0
je 0x43b722
mov eax, esi
call fcn.0043afc1
test eax, eax
je 0x43b722
mov eax, esi
call fcn.0043bac2
test eax, eax
je 0x43b722
cmp dword [ebp + 8], edi
mov dword [esp + 0xc], 1
je 0x43b72a
xor ecx, ecx
mov edx, ebx
call fcn.00419439
test eax, eax
jbe 0x43b6fd
mov dword [esp + 0xc], edi
push 0x4ad
mov edx, 0x4ca710
push str..Message.c
mov ecx, ebx
call fcn.0041a89d
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
jne 0x43b736
mov eax, esi
call fcn.0043bad8
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4b2
mov edx, 0x4c7f54
jmp 0x43b707
cmp dword [esi + 4], edi
jle 0x43b784
cmp dword [ebp + 8], edi
je 0x43b753
cmp dword [esp + 0xc], edi
jne 0x43b753
push ebx
push 0xa
call fcn.004a6f4f
pop ecx
xor edi, edi
pop ecx
inc edi
push ebx
push dword [esi + 4]
push 1
push dword [esi]
call fcn.004a612e
add edi, eax
add esp, 0x10
cmp edi, dword [esi + 4]
jge 0x43b784
mov eax, dword [esi]
call fcn.00475873
test eax, eax
jne 0x43b784
inc dword [0x5f609c]
mov ecx, ebx
call fcn.0041acca
jmp 0x43b71b
mov ecx, ebx
call fcn.0041acca
mov eax, esi
call fcn.0043bad8
xor eax, eax
inc eax
jmp 0x43b724
Function at 0x43cd05
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
cmp dword [0x5f9c34], esi
push edi
jne 0x43ce34
push 0x103
lea eax, [ebp - 0x10f]
push esi
push eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.004a7110
add esp, 0xc
push str.FtpMode.dat
push esi
push esi
call fcn.00459ede
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4c64d0
push eax
call fcn.004a708e
push 0x672
mov ebx, str..Network.c
mov esi, 0x4c520c
push ebx
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0041a89d
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x43cdd8
lea edi, [ebp - 0x110]
call fcn.00418e6b
test eax, eax
je 0x43ce34
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x677
push ebx
mov edx, esi
mov ecx, edi
call fcn.0041a89d
test eax, eax
pop ecx
pop ecx
jne 0x43ce34
cmp dword [0x5f9d3c], eax
jne 0x43ce34
mov dword [0x5f9d3c], 1
jmp 0x43ce34
push edi
push 1
lea eax, [ebp - 0x114]
push 4
push eax
mov dword [ebp - 0x114], 0xfffe4df9
call fcn.004a7455
add esp, 0x10
cmp eax, 1
mov ecx, edi
jae 0x43ce04
call fcn.0041acca
jmp 0x43ce34
call fcn.0041acca
mov eax, dword [ebp - 0x114]
lea ecx, [eax + 3]
cmp ecx, 6
ja 0x43ce34
test eax, eax
je 0x43ce34
jle 0x43ce26
and dword [0x5f6b54], 0
jmp 0x43ce34
test eax, eax
jge 0x43ce34
mov dword [0x5f6b54], 0x8000000
mov ecx, dword [ebp - 4]
mov eax, dword [0x5f6b54]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69f5
leave
ret
Function at 0x43ce48
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 0x103
lea eax, [ebp - 0x10f]
push edi
push eax
mov dword [ebp - 0x114], edi
mov byte [ebp - 0x110], 0
call fcn.004a7110
mov ecx, dword [ebp + 8]
mov eax, dword [0x5f6b54]
add esp, 0xc
cmp ecx, 0x8000000
mov dword [ebp - 0x120], eax
je 0x43cea0
cmp ecx, edi
jne 0x43d049
push str.FtpMode.dat
push edi
push edi
mov dword [0x5f6b54], ecx
call fcn.00459ede
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x4c64d0
push eax
call fcn.004a708e
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
mov dword [ebp - 0x118], edi
mov ebx, 0x96
jmp 0x43cede
xor edi, edi
push 0x6c5
push str..Network.c
mov edx, 0x4c5448
lea ecx, [ebp - 0x110]
call fcn.0041a89d
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x43cf6a
lea edi, [ebp - 0x110]
call fcn.00418e6b
test eax, eax
je 0x43cf25
push ebx
call esi
inc dword [ebp - 0x118]
cmp dword [ebp - 0x118], 5
jl 0x43cedc
and dword [ebp - 0x118], 0
xor edi, edi
cmp dword [ebp - 0x11c], edi
jne 0x43cf78
push 0x6da
push str..Network.c
mov edx, 0x4c53b4
lea ecx, [ebp - 0x110]
call fcn.0041a89d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x43cf76
push ebx
call esi
inc edi
cmp edi, 5
jl 0x43cf36
jmp 0x43d043
mov dword [ebp - 0x118], 1
jmp 0x43cf2e
xor edi, edi
cmp dword [ebp - 0x118], edi
je 0x43cfa4
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 1
push 4
push eax
call fcn.004a7455
add esp, 0x10
cmp eax, 1
jae 0x43cfa4
mov dword [ebp - 0x114], edi
push 3
pop eax
push 0xfffffffffffffffd
pop ecx
cmp dword [ebp - 0x114], ecx
jl 0x43cfba
cmp dword [ebp - 0x114], eax
jle 0x43cfc0
mov dword [ebp - 0x114], edi
cmp dword [ebp + 8], edi
jne 0x43cfd9
inc dword [ebp - 0x114]
jne 0x43cff1
mov dword [ebp - 0x114], 1
jmp 0x43cff1
cmp dword [ebp + 8], 0x8000000
jne 0x43cff1
dec dword [ebp - 0x114]
jne 0x43cff1
or dword [ebp - 0x114], 0xffffffff
cmp dword [ebp - 0x114], eax
jle 0x43d001
mov dword [ebp - 0x114], eax
jmp 0x43d00f
cmp dword [ebp - 0x114], ecx
jge 0x43d00f
mov dword [ebp - 0x114], ecx
push edi
push edi
push dword [ebp - 0x11c]
call fcn.004a665f
add esp, 0xc
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 1
push 4
push eax
call fcn.004a612e
mov ecx, dword [ebp - 0x11c]
add esp, 0x10
call fcn.0041acca
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69f5
leave
ret
Function at 0x43de22
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], edi
xor esi, esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, 0x7a
jne 0x43de60
push 1
push dword [ebp - 4]
call fcn.004a5f90
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
jne 0x43de55
xor eax, eax
jmp 0x43deb1
push edi
lea eax, [ebp - 4]
push eax
push esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, edi
je 0x43de71
cmp esi, edi
je 0x43de51
push esi
call fcn.004a5de4
pop ecx
jmp 0x43de51
mov edx, dword [esi]
xor eax, eax
cmp edx, edi
push ebx
jle 0x43dea7
lea ecx, [esi + 4]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffffffff
je 0x43de8a
cmp dword [ecx + 0x10], ebx
jne 0x43de96
mov ebx, dword [ecx]
cmp ebx, dword [ebp + 8]
jne 0x43de96
cmp dword [ecx + 0xc], edi
jne 0x43dea0
inc eax
add ecx, 0x38
cmp eax, edx
jl 0x43de7d
jmp 0x43dea7
imul eax, eax, 0x38
mov edi, dword [eax + esi + 0x10]
push esi
call fcn.004a5de4
pop ecx
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x43deb5
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5005d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
xor ebx, ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x2c], bl
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosw word es:[edi], ax
mov edx, esi
mov dword [ebp - 0x38], esi
stosb byte es:[edi], al
call fcn.00475851
test eax, eax
jne 0x43dfbd
mov al, byte [esi]
cmp al, bl
je 0x43df17
mov ecx, esi
cmp al, 0x2e
je 0x43df17
cmp al, 0x3f
je 0x43dfb6
inc ecx
mov al, byte [ecx]
cmp al, bl
jne 0x43df04
mov eax, esi
call fcn.0044052e
test eax, eax
je 0x43dfbd
mov eax, str._._._._
call fcn.0044052e
test eax, eax
je 0x43dfbd
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
mov dword [ebp - 0x34], ebx
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, 0x7a
jne 0x43dfbd
push 1
push dword [ebp - 0x34]
call fcn.004a5f90
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x43dfbd
push ebx
lea eax, [ebp - 0x34]
push eax
push esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp dword [esi], ebx
mov dword [ebp - 0x30], ebx
jle 0x43dfde
lea edi, [esi + 4]
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
call fcn.00440be2
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x2c]
call fcn.00440be2
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.00440606
test eax, eax
je 0x43dfd6
lea edx, [ebp - 0x2c]
mov ecx, str._._._._
call fcn.00440606
test eax, eax
je 0x43dfd6
push edi
call sub.iphlpapi.dll_DeleteIpForwardEntry
test eax, eax
jne 0x43dfcf
inc dword [ebp - 0x30]
jmp 0x43dfd6
mov byte [0x515aaa], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69f5
leave
ret
mov byte [0x515aab], 1
inc ebx
add edi, 0x38
cmp ebx, dword [esi]
jl 0x43df72
push esi
call fcn.004a5de4
mov eax, dword [ebp - 0x30]
pop ecx
jmp 0x43dfc0
Function at 0x440317
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x5005d0]
xor eax, esp
mov dword [esp + 0x198], eax
and word [esp + 4], 0
push edi
push 0x18e
lea eax, [esp + 0xe]
push 0
push eax
call fcn.004a7110
add esp, 0xc
test esi, esi
je 0x44038f
cmp dword [ebp + 8], 0
jle 0x44038f
lea eax, [esp + 8]
push eax
push 0x101
mov byte [esi], 0
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x44038b
push dword [ebp + 8]
push esi
call sub.WSOCK32.dll_gethostname
mov edi, eax
call sub.WSOCK32.dll_WSACleanup
test edi, edi
jne 0x44038b
push esi
call fcn.004a63c0
test eax, eax
pop ecx
ja 0x44038f
xor eax, eax
jmp 0x440391
mov eax, esi
mov ecx, dword [esp + 0x19c]
pop edi
xor ecx, esp
call fcn.004a69f5
mov esp, ebp
pop ebp
ret