joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010c0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4010f9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401317
mov esp, ebp
pop ebp
ret
mov ecx, dword [section..data]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0x471614
lea eax, [ebp - 0x318]
push 0x20a
push eax
call fcn.00401060
add esp, 0x14
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x401317
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4832e4]
jne 0x401321
repz ret
jmp fcn.00406b61

Function at 0x411c3a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407797
and dword [ebp - 0x14], 0
cmp dword [0x492874], 0
mov dword [ebp - 0x18], eax
jne 0x411ced
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411d95
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x411d95
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x492874], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x492878], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49287c], eax
call edi
push eax
call esi
mov dword [0x492884], eax
test eax, eax
je 0x411ced
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x492880], eax
mov eax, dword [0x492880]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411d46
cmp dword [0x492884], ecx
je 0x411d46
push eax
call esi
push dword [0x492884]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411d46
test ebx, ebx
je 0x411d46
call edi
test eax, eax
je 0x411d3d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411d3d
test byte [ebp - 8], 1
jne 0x411d46
or dword [ebp + 0x10], 0x200000
jmp 0x411d79
mov eax, dword [0x492878]
cmp eax, dword [ebp - 0x18]
je 0x411d79
push eax
call esi
test eax, eax
je 0x411d79
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411d79
mov eax, dword [0x49287c]
cmp eax, dword [ebp - 0x18]
je 0x411d79
push eax
call esi
test eax, eax
je 0x411d79
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x492874]
call esi
test eax, eax
je 0x411d95
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411d97
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x417f15
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [0x590d30], eax
cmp eax, ebx
je 0x417f59
call fcn.004182de
mov dword [0x590d34], eax
jmp 0x417f6f
call fcn.004182de
sub eax, dword [0x590d34]
cmp eax, 0xde
jb 0x418040
cmp dword [0x590d30], ebx
jne 0x418040
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x418028
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp - 0x1c], ebx
jne 0x417fb3
call fcn.0045db34
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x41802b
cmp dword [ebp - 0x18], ebx
jne 0x41802b
lea eax, [ebp - 0x14]
push eax
call fcn.0045db34
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
call esi
push 4
mov edi, eax
call esi
add eax, dword [ebp - 0x10]
push 0xfffffffffffffffd
lea ecx, [eax + edi + 3]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
pop edi
cdq
idiv edi
mov dword [ebp - 0x10], ecx
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jle 0x41801f
cmp eax, dword [ebp - 0xc]
jge 0x41801f
cmp dword [ebp - 0x20], ecx
jle 0x41801f
push 0xf
call esi
add eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jge 0x41801f
mov dword [0x590d14], 1
call fcn.004182de
mov dword [0x590d18], eax
jmp 0x41802b
mov dword [ebp - 0x18], 1
jmp 0x41802b
mov dword [ebp - 0x18], ebx
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x590d30], ebx
je 0x417f82
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401317
leave
ret 4
Function at 0x419580
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x10f]
push esi
push eax
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x26c]
push esi
push eax
mov dword [ebp - 0x270], esi
call fcn.00401f80
xor eax, eax
mov word [ebp - 0x130], ax
lea edi, [ebp - 0x12e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x120], ax
lea edi, [ebp - 0x11e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
call fcn.004182de
sub eax, dword [0x590cb4]
cmp eax, 0x493e0
jae 0x419610
xor eax, eax
jmp 0x419745
call fcn.004182de
mov dword [0x590cb4], eax
call fcn.00418f5f
test eax, eax
je 0x419609
push 0x590488
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00428a08
pop ecx
call fcn.0042888f
push str.PAULATempTimeDetectionFile
push 0x473a5c
push eax
call fcn.004292bf
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x419609
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp + 8]
push eax
call ebx
mov dword [ebp - 0x274], esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x26c]
jg 0x4196b4
lea eax, [ebp - 0x25c]
push eax
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x130]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004194c6
add esp, 0x20
cmp eax, 0xdbba0
jle 0x419718
lea eax, [ebp - 0x110]
call fcn.0042888f
lea eax, [ebp - 0x244]
push eax
mov eax, 0x104
lea esi, [ebp - 0x110]
call fcn.00429a82
pop ecx
mov eax, esi
call fcn.0045946a
test eax, eax
je 0x419718
inc dword [ebp - 0x274]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419689
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x419754
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4832e4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosd dword es:[edi], eax
mov dword [esp + 0x10], esi
mov ebx, edx
stosw word es:[edi], ax
test esi, esi
je 0x419794
push 0x10
push 0
push esi
call fcn.00401f80
add esp, 0xc
mov edx, ebx
call fcn.00429ac3
test eax, eax
je 0x4197a3
xor eax, eax
jmp 0x419802
push 0xbba
push str.Time.c
mov edx, 0x46f5ac
mov ecx, ebx
call fcn.004580b0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41979f
push 0x10
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401f80
push edi
push 1
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00402244
lea ebx, [eax - 1]
add esp, 0x1c
neg ebx
mov ecx, edi
sbb ebx, ebx
call fcn.0045a2fe
test esi, esi
je 0x4197ff
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x41a359
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4832e4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
mov dword [esp + 0x10], edx
stosw word es:[edi], ax
call fcn.00429ac3
test eax, eax
je 0x41a393
xor eax, eax
jmp 0x41a3f2
mov esi, str.Time.c
test ebx, ebx
jne 0x41a3b7
push 0xb92
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0041a2fd
add esp, 0xc
test eax, eax
je 0x41a38f
lea ebx, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xb9a
push esi
mov edx, 0x46f608
call fcn.004580b0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41a38f
push edi
push 1
push 0x10
push ebx
call fcn.0040257f
lea esi, [eax - 1]
add esp, 0x10
neg esi
mov ecx, edi
sbb esi, esi
call fcn.0045a2fe
lea eax, [esi + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x4234d7
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.004234b6
pop ecx
test eax, eax
jne 0x4234ef
push 2
pop eax
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.004234a7
mov eax, edx
pop ebp
ret

Function at 0x423694
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 0x18e
mov word [ebp - 0x1a8], ax
xor esi, esi
lea eax, [ebp - 0x1a6]
push esi
push eax
mov ebx, ecx
call fcn.00401f80
add esp, 0xc
mov edx, ebx
mov byte [ebp - 0x1a9], 0
call fcn.00429ac3
test eax, eax
je 0x4236f4
or eax, 0xffffffff
jmp 0x423855
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00401f80
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4236ec
cmp dword [ebp + 8], esi
jle 0x423727
cmp dword [ebp + 8], 0x10000
jl 0x42372f
call fcn.0042342b
mov dword [ebp + 8], eax
push ebx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, esi
jne 0x423742
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x4236ec
cmp word [eax + 0xa], 4
jle 0x423750
push 4
pop ecx
mov word [eax + 0xa], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00401330
add esp, 0xc
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x42373a
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_htons]
push 2
mov word [ebp - 0x12], ax
pop eax
mov word [ebp - 0x14], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
je 0x4237cb
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push str.127.0.0.1
push ebx
call fcn.004294c0
pop ecx
pop ecx
test eax, eax
jne 0x4236ec
inc dword [0x58db0c]
jmp 0x4236ec
push 1
lea eax, [ebp - 0x1a9]
push eax
push 8
push 0xffff
push edi
mov byte [ebp - 0x1a9], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp dword [ebp + 0xc], esi
je 0x423853
push esi
push 0xfb
mov esi, 0xff
push esi
push edi
call fcn.004232c9
push 1
lea ebx, [esi - 2]
push ebx
push esi
push edi
call fcn.004232c9
push 0
push ebx
push esi
push edi
call fcn.004232c9
push 0x1f
push 0xfb
push esi
push edi
call fcn.004232c9
add esp, 0x40
push 0x1f
push 0xfa
push esi
push edi
call fcn.004232c9
push 0
push 0x50
push 0
push edi
call fcn.004232c9
push 0xf0
push esi
push 0x19
push edi
call fcn.004232c9
add esp, 0x30
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x423af7
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea edi, [ebx - 1]
push edi
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00401f80
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x423c2c
cmp byte [eax], 0
je 0x423c2c
lea ecx, [ebp + 0x14]
push ecx
push eax
lea esi, [ebp - 0x204]
push edi
mov eax, esi
push eax
jmp 0x423b92
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x423b6d
push esi
call fcn.00401a00
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x423c2c
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push esi
call fcn.00402db4
add esp, 0x10
cmp eax, 0xffffffff
je 0x423b5c
mov eax, esi
call fcn.00423584
push esi
call fcn.00401a80
cmp dword [ebp + 0xc], 0
pop ecx
mov ebx, eax
jbe 0x423bcb
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x423bc3
push dword [ebp + 0xc]
jmp 0x423bc5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x208]
mov eax, edi
call fcn.004239f4
test eax, eax
je 0x423c1b
push 0x2ca
mov eax, edi
call fcn.00423464
pop ecx
test eax, eax
je 0x423c1b
push 0
push ebx
push esi
push dword [edi + 0xacc]
call dword [sym.imp.WSOCK32.dll_send]
mov ebx, eax
mov eax, edi
call fcn.00423455
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x423c17
push esi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x423c2e
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x423c2c
push esi
call fcn.00401a00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x42458d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, eax
jge 0x42459e
and dword [ebp + 8], 0
test ebx, ebx
jns 0x4245a4
xor ebx, ebx
cmp dword [ebp + 8], ebx
jg 0x4245f1
mov eax, edi
call fcn.004239f4
test eax, eax
je 0x4245f1
push 0xe15
mov eax, edi
call fcn.00423464
pop ecx
test eax, eax
je 0x4245f1
mov eax, dword [edi + 0xf4]
cmp dword [ebp + 8], eax
jle 0x4245d3
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x4245d9
mov ebx, eax
push 1
push 0x10
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4245f7
mov eax, edi
call fcn.00423455
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x10
push 0
push esi
call fcn.00401f80
mov dword [esi], edi
mov cx, word [edi + 0xdc]
imul cx, word [ebp + 8]
add esp, 0xc
inc ebx
mov word [esi + 4], cx
imul bx, word [edi + 0xdc]
dec bx
xor eax, eax
mov word [esi + 8], ax
mov ax, cx
mov word [esi + 0xa], ax
mov word [esi + 6], bx
lea eax, [edi + 0xafc]
jmp 0x42463c
mov eax, ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x42463a
mov ebx, dword [0x58d998]
mov dword [eax + 0xc], esi
test ebx, ebx
jne 0x42465d
call fcn.0042edb6
mov ebx, eax
mov dword [0x58d998], ebx
push esi
call fcn.0042ed65
pop ecx
mov eax, edi
call fcn.00423455
mov eax, esi
jmp 0x4245f3
Function at 0x424c11
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, edi
call fcn.004239f4
test eax, eax
je 0x424d87
mov eax, dword [ebp + 8]
test eax, eax
je 0x424d87
cmp byte [eax], 0
je 0x424d87
mov ebx, dword [edi + 0xa8c]
push 1
push 0x2c
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x424d87
push 0x2c
push 0
push esi
call fcn.00401f80
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.00401a80
pop ecx
add eax, 0xa
push eax
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esi + 4], eax
test eax, eax
je 0x424d80
mov eax, edi
call fcn.004239f4
test eax, eax
je 0x424d80
push 0x881
mov eax, edi
call fcn.00423464
pop ecx
test eax, eax
je 0x424d80
mov ecx, dword [edi + 0xa88]
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x424cc2
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x424cc6
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0xc], 0
jne 0x424ccf
inc ebx
jmp 0x424ce0
call fcn.004182de
cmp ebx, eax
jbe 0x424cdd
sub ebx, eax
add dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401ba0
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.00423584
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401a80
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.00401ba0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
pop ecx
xor ebx, ebx
pop ecx
mov dword [esi], edi
mov dword [esi + 0x18], ebx
jmp 0x424d2a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], ebx
jne 0x424d22
mov dword [edi + 0xaa8], 1
lea eax, [edi + 0xad0]
jmp 0x424d46
mov eax, ecx
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
jne 0x424d44
mov ebx, dword [0x58d994]
mov dword [eax + 0x28], esi
test ebx, ebx
jne 0x424d67
call fcn.0042edb6
mov ebx, eax
mov dword [0x58d994], ebx
push esi
call fcn.0042ed65
and dword [edi + 0xaa8], 0
pop ecx
mov eax, edi
call fcn.00423455
mov eax, esi
jmp 0x424d89
push esi
call fcn.00401a00
pop ecx
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x425191
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
test esi, esi
je 0x4252d1
push edi
push 1
push 0x20
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4252d0
push ebx
push 0x20
push 0
push edi
call fcn.00401f80
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x14], eax
add esp, 0xc
mov eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
call fcn.004239f4
test eax, eax
je 0x4252c6
push 0xb2e
mov eax, ebx
call fcn.00423464
pop ecx
test eax, eax
je 0x4252c6
cmp dword [0x58d99c], 0
jne 0x425211
call fcn.0042edb6
mov dword [0x58d99c], eax
test eax, eax
je 0x4252c6
push 0xb3e
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
mov esi, 0x423339
push esi
mov ecx, 0x3f70
call fcn.00458f94
mov ebx, eax
test ebx, ebx
jne 0x42525f
push 0xb43
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
push esi
xor ecx, ecx
call fcn.00458f94
mov ebx, eax
test ebx, ebx
jne 0x42525f
mov eax, dword [ebp + 8]
call fcn.00423455
jmp 0x4252cd
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
call fcn.0042885f
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
push esi
push str.Called_for__p_HTELNET___p_Condition__from__s___in___s__line_d.
push ebx
call fcn.00457fba
add esp, 0x1c
mov dword [edi + 8], ebx
mov dword [edi], ebx
lea eax, [esi + 0xaac]
jmp 0x425290
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x42528e
mov dword [eax + 0x1c], edi
inc dword [esi + 0xac4]
cmp dword [esi + 0xac4], 0xc
jle 0x4252ae
call fcn.004182de
mov ebx, dword [0x58d99c]
push edi
call fcn.0042ed65
pop ecx
mov eax, esi
call fcn.00423455
mov eax, edi
jmp 0x4252cf
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x427103
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4832e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 0x1f4
mov esi, ecx
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x427135
xor eax, eax
jmp 0x42721e
push 5
pop eax
push eax
push 0x10
mov dword [edi + 8], eax
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x427154
push edi
call fcn.00401a00
pop ecx
jmp 0x42712e
and dword [edi + 4], 0
and dword [edi + 0xc], 0
push ebx
mov ebx, dword [0x58d774]
test ebx, ebx
jne 0x427174
call fcn.0042edb6
mov ebx, eax
mov dword [0x58d774], ebx
push edi
call fcn.0042ed65
xor eax, eax
pop ecx
cmp dword [0x58d774], eax
jne 0x42719b
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x42721d
cmp esi, eax
je 0x4271de
mov ebx, 0x103
push ebx
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.00401f80
push esi
mov ecx, ebx
lea eax, [ebp - 0x108]
call fcn.00428a08
mov esi, eax
call fcn.004288d0
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.00428a08
add esp, 0x14
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
call fcn.004182de
lea ebx, [edi + 0x34]
push str.StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.00456cc8
pop ecx
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.00456b53
mov eax, 0x7d0
mov ecx, ebx
call fcn.00456b40
mov eax, edi
call fcn.00426f24
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x42aea9
Capabilities:
Terminate process

Disassembly:
push esi
push edi
xor esi, esi
push 0x248
inc esi
push esi
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x42aec8
xor eax, eax
jmp 0x42af6f
push 0x30
push esi
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi + 0x70], eax
test eax, eax
jne 0x42aee2
push edi
call fcn.00401a00
pop ecx
jmp 0x42aec1
cmp dword [0x588ee4], 0
mov dword [edi + 0x5c], esi
jne 0x42af0c
call fcn.0042edb6
mov dword [0x588ee4], eax
test eax, eax
jne 0x42af0c
mov eax, dword [edi + 0x70]
test eax, eax
je 0x42aed9
push eax
call fcn.00401a00
pop ecx
jmp 0x42aed9
fld1
or dword [edi + 0x68], 0xffffffff
and dword [edi + 0x40], 0
fstp dword [edi + 0x44]
mov eax, 0xffff8000
push ebx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.0045d525
lea ebx, [edi + 0x88]
push str.Sprite.c
push ebx
mov dword [edi + 0x7c], eax
call fcn.00456cc8
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.00456b53
mov eax, 0x7d0
mov ecx, ebx
call fcn.00456b40
mov ebx, dword [0x588ee4]
push edi
call fcn.0042ed65
add esp, 0xc
mov eax, edi
call fcn.0042abf6
mov eax, edi
pop ebx
pop edi
pop esi
ret

Function at 0x42cc74
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x4811e0
call fcn.00408340
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x42cd2c
push 1
mov esi, 0xfffc
push esi
call fcn.00401a3a
mov edi, eax
push 1
push esi
call fcn.00401a3a
mov esi, eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffdc
push edi
call fcn.00402ce8
add esp, 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [edi + ecx]
mov dl, byte [eax]
cmp dl, 0xd
je 0x42cd1f
cmp dl, 0xa
je 0x42cd1f
add ecx, esi
mov word [ecx], 0x1d1c
mov word [ecx + 2], 0x1f1e
add ecx, 4
push ecx
call fcn.0042ca02
pop ecx
push dword [ebp + 8]
push esi
call fcn.00401a80
pop ecx
push eax
push 1
push esi
call fcn.0040257f
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp eax, 4
jle 0x42cd0f
sub dword [ebp - 0x1c], 4
push edi
call fcn.00401a00
push esi
call fcn.00401a00
pop ecx
pop ecx
jmp 0x42cd2c
mov byte [esi + ecx], dl
inc ecx
jmp 0x42ccc4
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.00408385
ret