joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404498
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov edi, 0x2328
jne 0x4044cb
cmp dword [ebp + 0xc], edi
jl 0x4044c4
cmp dword [ebp + 0xc], 0x270f
jle 0x4044cb
xor eax, eax
jmp 0x4045e9
push ebx
call fcn.0040467e
push eax
call fcn.00405e00
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4044c4
push dword [esi + 0x10]
call fcn.0040399b
sub eax, dword [esi + 0x10]
push eax
push esi
mov dword [ebp - 0x10], eax
call fcn.00405e2e
push str..cfg
push esi
call fcn.00405b68
add esp, 0x14
mov dword [ebp - 4], edi
xor edi, edi
lea eax, [ebp - 0x150]
cmp ebx, edi
push eax
jne 0x404528
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4045df
jmp 0x404533
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x404562
cmp dword [ebp + 8], edi
je 0x404555
lea eax, [ebp - 0x124]
push eax
call fcn.0040399b
pop ecx
push eax
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x40455d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x404593
inc dword [ebp - 4]
jmp 0x404505
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
cmp dword [ebp - 0xc], edi
jne 0x4045df
push dword [ebp - 0x10]
push esi
call fcn.00405e2e
push str..ptron
push esi
call fcn.00405b68
add esp, 0x10
mov dword [ebp - 0xc], 1
jmp 0x404505
push dword [ebp - 0x10]
push esi
call fcn.00405e2e
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.00405b68
push edi
push dword [esi + 0x10]
call fcn.00404c76
add esp, 0x18
test eax, eax
je 0x4045d1
push dword [esi + 0x10]
call fcn.0040467e
push 1
pop edi
push edi
call fcn.004045ee
pop ecx
mov dword [ebp - 8], edi
pop ecx
jmp 0x4045df
push edi
call fcn.004045ee
pop ecx
mov dword [ebp - 8], 1
push esi
call fcn.00405a3d
mov eax, dword [ebp - 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406577
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp word [esi + 0x24], di
jne 0x406596
or eax, 0xffffffff
jmp 0x40668c
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x404]
push eax
push 0x400
push 0xd
push dword [esi + 4]
call ebx
movsx eax, word [esi + 0x26]
or word [esi + 0x26], 0xffff
cmp byte [ebp - 0x404], 0
mov word [esi + 0x24], di
mov dword [ebp + 8], eax
jne 0x4065d1
push eax
push esi
call fcn.0040686b
jmp 0x4065dd
cmp eax, 0xffffffff
jne 0x4065e4
push esi
push edi
call fcn.00416231
pop ecx
pop ecx
jmp 0x40668c
push edi
push eax
push 0x150
push dword [esi + 4]
call ebx
mov edi, eax
test edi, edi
je 0x406672
mov eax, dword [edi]
test al, 2
je 0x406606
lea eax, [ebp - 0x404]
push eax
push edi
jmp 0x406613
or al, 4
mov dword [edi], eax
lea eax, [ebp - 0x404]
push eax
push 0
call fcn.00407023
pop ecx
test eax, eax
pop ecx
jne 0x406658
push 0xffff
push str.Error_Altering_Proxy
push esi
call fcn.00406961
add esp, 0xc
and dword [edi], 0xfffffffb
push 0
push dword [ebp + 8]
push 0x144
push dword [esi + 4]
call ebx
lea eax, [ebp - 0x404]
push 1
push eax
push edi
push esi
call fcn.00406691
add esp, 0x10
jmp 0x406672
or dword [eax], 2
lea ecx, [ebp - 0x404]
push 1
push ecx
push eax
push esi
call fcn.00406691
add esp, 0x10
test eax, eax
jne 0x406676
xor eax, eax
jmp 0x40668c
push 0xff00
push str.Proxy_item_changed...
push esi
call fcn.00406961
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406707
Capabilities:
Encrypt data using rc4 ksa
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, 0x10000
and dword [ebp - 0x10], 0
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
mov edi, ebx
cdq
sub edi, ecx
idiv edi
mov edx, dword [esi + 0x28]
mov edi, ecx
inc edx
cmp edi, ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
jg 0x40678d
imul ecx, eax
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
sar eax, 8
inc edi
lea ecx, [eax + 1]
and eax, 0xff
neg ecx
shl ecx, 0x10
and ecx, 0xff0000
mov dword [ebp - 0xc], edi
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, eax
lea eax, [ebp - 0x14]
push ebx
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], eax
cmp edi, dword [esi + 0x24]
jle 0x406742
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x100
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [edi + 0x20]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x24]
push dword [esi + 0x18]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call dword [sym.imp.GDI32.dll_SelectObject]
push 6
mov dword [ebp - 4], eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 1
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp + 0xc]
mov edi, dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [ebp - 0x114]
push eax
push 0xffffffffffffffff
push ebx
push dword [esi + 0x18]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebx + 1]
push 0
push eax
push dword [esi + 0x18]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebx - 1]
push 0
push eax
push dword [esi + 0x18]
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
push 1
push ebx
push dword [esi + 0x18]
call edi
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
push 0
push ebx
push dword [esi + 0x18]
call edi
push dword [ebp - 4]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406a46
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x147
push dword [esi + 4]
call edi
cmp eax, 0xffffffff
je 0x406a84
push ebp
push eax
push 0x150
push dword [esi + 4]
call edi
push 8
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
cmp edi, ebp
jne 0x406a88
xor eax, eax
jmp 0x406ad8
mov dword [edi], esi
mov dword [edi + 4], ebx
test byte [0x428510], 0x20
je 0x406aa2
push dword [0x42820c]
call fcn.00410062
pop ecx
push 0x4245a4
push 0x5e2
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebp
push 0x5e0
push 0x5dd
push dword [esi]
call fcn.004118bc
push edi
push ebp
push 0x41e878
call sub.MSVCRT.dll__beginthread
add esp, 0x1c
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4074d2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x428500]
push esi
test eax, eax
push edi
je 0x4074ee
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x428500]
jmp 0x407552
mov edi, 0x11c
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x407552
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0x40768c
push dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
push 0x9d
mov dword [esi + 0x34], eax
push dword [0x42820c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 5
push esi
mov dword [0x428500], esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x4079d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x407a36
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407a0b
lea eax, [ebp - 0x80]
push 0x7f
push eax
lea edi, [ebp - 0x80]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x407a0e
mov edi, dword [esi + 0x34]
push edi
lea eax, [ebp - 0x180]
push str.Testing:__s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
jmp 0x407a43
push str.Testing_Matching_Expression
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop esi
leave
ret
Function at 0x408280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [ebp + 8], 0
jne 0x408296
mov dword [ebp + 8], str.Contents
call fcn.00404b94
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push str.help_
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x400]
push str..html
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x400]
push 0xa
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret

Function at 0x408679
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
xor esi, esi
call fcn.00404b94
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push str.FirstRun.txt
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4086d8
push str.Welcome
call fcn.00408280
mov eax, dword [ebp + 8]
pop ecx
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop esi
mov eax, esi
pop esi
leave
ret

Function at 0x40ad28
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x5c
push ebp
push esi
mov esi, dword [esp + 0x68]
xor ebp, ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push ebp
push 0x19f
push dword [esi + 4]
mov dword [esp + 0x20], ebp
call edi
push eax
push 0x199
push dword [esi + 4]
call edi
push ebp
push ebp
push 0x184
mov dword [esp + 0x1c], eax
push dword [esi + 4]
call edi
cmp dword [esi + 0x44], ebp
jne 0x40ad79
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x40ae48
push ebp
push ebp
push 0xe
push dword [esi + 8]
call edi
test eax, eax
jle 0x40ada8
lea eax, [esp + 0x15]
push eax
push 0x50
push 0xd
push dword [esi + 8]
call edi
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x2a
push eax
call fcn.0041634c
pop ecx
mov dword [esp + 0xc], eax
or dword [esp + 0x6c], 0xffffffff
push ebx
mov ebx, dword [esi + 0x38]
mov word [esi + 0x20], bp
cmp ebx, ebp
je 0x40ae2d
cmp dword [esp + 0x10], ebp
je 0x40add3
push dword [esp + 0x10]
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004144b6
pop ecx
test eax, eax
pop ecx
je 0x40aded
push ebx
push ebp
push 0x180
push dword [esi + 4]
call edi
cmp ebx, dword [esp + 0x14]
jne 0x40ade9
mov dword [esp + 0x70], eax
inc word [esi + 0x20]
mov ebx, dword [ebx + 4]
cmp ebx, ebp
jne 0x40adb9
mov ebx, dword [esp + 0x70]
cmp ebx, ebp
jl 0x40ae2d
push ebp
push ebx
push 0x19e
push dword [esi + 4]
call edi
push ebx
push 1
push 0x185
push dword [esi + 4]
call edi
cmp ebx, 4
jge 0x40ae1e
xor eax, eax
jmp 0x40ae21
lea eax, [ebx - 4]
push ebp
push eax
push 0x197
push dword [esi + 4]
call edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esp + 0x10], ebp
pop ebx
je 0x40ae48
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
Function at 0x40bad3
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4214d0
push 0x420104
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
push esi
call fcn.0041d97d
pop ecx
test eax, eax
je 0x40bb1e
mov eax, dword [esi + 4]
push dword [eax]
call fcn.0041d25a
pop ecx
or byte [esi + 0x31], 1
push 1
pop eax
jmp 0x40bc85
and byte [esi + 0x31], 0xfe
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
or edi, 0xffffffff
mov dword [ebp - 4], edi
jmp 0x40bb79
mov eax, dword [esi + 4]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x40bb9f
mov dword [eax], ebx
push 0x12030
push str.ProxomiTron_Application_Error
push str.Cant_open_client_socket
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40bc83
push 1
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
push ecx
call fcn.0040c043
pop ecx
cmp dword [0x428224], ebx
jle 0x40bbd3
push 4
push 0x428224
push 0x1002
push 0xffff
mov eax, dword [esi + 4]
push dword [eax]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [esi + 4]
push dword [eax]
call fcn.0041d25a
mov eax, dword [esi + 8]
mov word [eax], 2
push 8
push ebx
mov eax, dword [esi + 8]
add eax, 8
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
push 0x10
push dword [esi + 8]
mov eax, dword [esi + 4]
push dword [eax]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
jne 0x40bc44
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], eax
je 0x40bc40
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x24], eax
cmp eax, 0x274c
je 0x40bc40
cmp eax, 0x274f
jle 0x40bc3c
cmp eax, 0x2751
jle 0x40bc40
mov eax, edi
jmp 0x40bc47
xor eax, eax
jmp 0x40bc47
push 1
pop eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
jmp 0x40bc85
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c795
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 1
mov esi, dword [ebp + 8]
pop edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 0x10c]
push ebx
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 8], 0xf
push eax
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], edi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x40c81f
lea eax, [ebp - 0x10c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40c7fc
mov ebx, edi
lea eax, [ebp - 0x210]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40c824
push 2
lea eax, [ebp - 8]
push edi
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x40c823
xor eax, eax
jmp 0x40c826
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c86d
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, 0x1bc
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x40ca01
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
mov dword [esi + 0x38], fcn.0042028f
push str.libssl_3.dll
call edi
test eax, eax
mov dword [esi], eax
jne 0x40c8be
push str.ssleay32.dll
call edi
test eax, eax
mov dword [esi], eax
je 0x40c8e0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.libcrypto_3.dll
call edi
test eax, eax
mov dword [esi + 4], eax
jne 0x40c8fc
push str.libeay32.dll
call edi
test eax, eax
mov dword [esi + 4], eax
jne 0x40c8fc
push 0x12030
push str.ProxomiTron_Application_Error
push str.Sorry__but_I_need..._r_nlibssl_3.dll_and_libcrypto_3.dll__or_r_nssleay32.dll_and_libeay.dll_r_nto_do_this.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40c9fa
mov edi, dword [str.SSL_CTX_new]
lea ebx, [esi + 0x28]
cmp byte [edi], 0
je 0x40c984
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov al, byte [edi]
cmp al, 1
jne 0x40c92e
inc edi
push edi
push dword [esi]
call ebp
test eax, eax
jne 0x40c92a
push edi
push dword [esi + 4]
call ebp
test eax, eax
je 0x40c96f
mov dword [ebx], eax
jmp 0x40c96f
cmp al, 2
jne 0x40c958
inc edi
push edi
push dword [esi]
call ebp
test eax, eax
jne 0x40c946
push edi
push dword [esi + 4]
call ebp
test eax, eax
je 0x40c948
mov dword [ebx], eax
push edi
call sub.MSVCRT.dll_strlen
cmp dword [ebx], 0
pop ecx
lea edi, [edi + eax + 1]
jne 0x40c96f
push edi
push dword [esi]
call ebp
test eax, eax
mov dword [ebx], eax
jne 0x40c96f
push edi
push dword [esi + 4]
call ebp
test eax, eax
mov dword [ebx], eax
je 0x40c9d5
push edi
add ebx, 4
call sub.MSVCRT.dll_strlen
cmp byte [edi + eax + 1], 0
lea edi, [edi + eax + 1]
pop ecx
jne 0x40c910
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40c98d
call eax
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x40c999
call eax
push 0
call fcn.004108e5
test eax, eax
pop ecx
je 0x40c9cb
push 0
call dword [esi + 0xd4]
push eax
lea eax, [esp + 0x18]
push str.WLoaded:__s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x20]
push eax
call fcn.00410924
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebp, str.ProxomiTron_Application_Error
push 0x12030
push ebp
push str.Sorry__This_version_of_SSLeay_OpenSSL_doesnt_ncontain_all_the_needed_functions._It_may_nbe_too_different_a_version_or_complied_nwithout_all_the_necessary_algorithms.
push 0
call ebx
push 0x12030
push ebp
push edi
push 0
call ebx
push esi
call fcn.0040d8d3
pop ecx
xor eax, eax
jmp 0x40c9cd
Function at 0x411a89
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x411b14
cmp dword [ebp + 0xc], edi
push 1
pop ebx
je 0x411b0e
test byte [esi], 4
je 0x411ab6
mov dword [ebp - 0x4c], 2
mov edi, ebx
jmp 0x411abd
mov dword [ebp - 0x4c], 3
mov ecx, dword [0x428210]
mov dword [ebp - 0x48], 0x7e8
test ecx, ecx
je 0x411ae4
mov eax, dword [0x4284e8]
test eax, eax
je 0x411ae4
test byte [0x4283d0], bl
je 0x411b06
mov dword [ebp - 0x44], ecx
jmp 0x411b09
mov eax, dword [0x4283d0]
and al, bl
neg al
sbb eax, eax
and al, 0xfa
add eax, 0xa2
movzx eax, ax
push eax
push dword [0x42820c]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x44], eax
or dword [esi], 4
jmp 0x411b2c
mov eax, dword [esi]
test al, 4
jne 0x411b18
xor eax, eax
jmp 0x411b56
and dword [ebp - 0x4c], 0
push 2
pop edi
and al, 0xfb
push 5
push ecx
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov dword [ebp - 0x58], 0x58
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push edi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp dword [ebp + 0xc], 0
mov esi, eax
je 0x411b54
call fcn.004119d0
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x412452
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
movzx cx, byte [esi]
inc esi
test cx, cx
je 0x412490
movsx eax, cx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov eax, ecx
test eax, eax
je 0x412492
movzx cx, byte [esi]
inc esi
test cx, cx
jne 0x412463
test eax, eax
je 0x412490
mov ecx, dword [esp + 8]
mov dword [ecx + 4], esi
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x412496
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, 0x400
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x4124bd
xor eax, eax
jmp 0x41251f
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push ebx
push eax
push edi
push esi
call fcn.00411d50
add esp, 0x14
test eax, eax
jle 0x412505
call fcn.00404b94
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 5
push ebx
push ebx
push dword [ebp - 0xc]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x412505
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
or byte [esi + 0x1c], 0x20
movzx eax, word [edi]
add eax, edi
pop edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x412c5f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
xor ebx, ebx
mov esi, dword [eax]
mov eax, dword [ebp + 8]
push edi
cmp esi, ebx
mov ecx, dword [eax + 0x24]
mov edi, dword [ecx + 0x18]
jne 0x412cdd
push 0x400
push ebx
push edi
push dword [ebp + 0xc]
push eax
call fcn.00411d50
push edi
call fcn.00404b0c
push 0x4240ec
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x412cdd
push eax
call fcn.004108e5
test eax, eax
pop ecx
je 0x412d01
push esi
call fcn.004059b7
mov esi, eax
push edi
push str.RError_opening__FILE__s_
push esi
mov dword [esi + 0xc], 0x200
call fcn.00405edc
push dword [esi + 0x10]
call fcn.00410924
push esi
call fcn.00405a3d
add esp, 0x18
jmp 0x412d01
push esi
push 0x1000
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x412d05
test esi, esi
je 0x412d01
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
xor esi, esi
xor edi, edi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41593a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [ebp + 8]
push ebx
push ebx
push ebx
push 0x19f
push dword [edi + 4]
mov dword [ebp - 4], ebx
call esi
push eax
push 0x199
push dword [edi + 4]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x415974
mov dword [ebp - 8], ebx
push ebx
push ebx
push 0x184
push dword [edi + 4]
call esi
cmp dword [edi + 0x40], ebx
jne 0x415993
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x415a96
push ebx
push ebx
push 0xe
push dword [edi + 8]
call esi
test eax, eax
jle 0x4159be
lea eax, [ebp - 0x5f]
push eax
push 0x50
push 0xd
push dword [edi + 8]
call esi
lea eax, [ebp - 0x60]
mov byte [ebp - 0x60], 0x2a
push eax
call fcn.0041634c
pop ecx
mov dword [ebp - 4], eax
or dword [ebp + 8], 0xffffffff
mov ebx, dword [edi + 0x38]
test ebx, ebx
je 0x415a1d
cmp dword [ebp - 4], 0
je 0x4159e6
push dword [ebp - 4]
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004144b6
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
jmp 0x4159e9
push 1
pop eax
test eax, eax
je 0x415a18
mov eax, dword [ebx]
push dword [eax + 4]
push 0
push 0x180
push dword [edi + 4]
call esi
push ebx
push eax
push 0x19a
mov dword [ebp - 0xc], eax
push dword [edi + 4]
call esi
cmp ebx, dword [ebp - 8]
jne 0x415a18
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ebx, dword [ebx + 4]
jmp 0x4159c5
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x415a31
mov eax, dword [ebp - 8]
test eax, eax
je 0x415a43
mov eax, dword [eax]
test eax, eax
je 0x415a43
push dword [eax + 4]
push 0xffffffffffffffff
push 0x18f
push dword [edi + 4]
call esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x415a7d
cmp eax, 4
lea ebx, [eax - 4]
jge 0x415a54
mov ebx, eax
push 0
push eax
push 0x19e
push dword [edi + 4]
call esi
push dword [ebp + 8]
push 1
push 0x185
push dword [edi + 4]
call esi
push 0
push ebx
push 0x197
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 4], 0
je 0x415a96
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret