joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ca60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x40c630
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00419683
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xf20fd8ed
jmp 0x40cac0
mov dword [ebp - 0x10], 0x9ed8348f
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
cmp eax, 0x9ed8348e
jg 0x40cae0
cmp eax, 0x860278e0
jne 0x40cac0
jmp 0x40cab4
cmp eax, 0xea77db9f
jg 0x40cb00
cmp eax, 0x9ed8348f
jne 0x40cac0
jmp 0x40cc62
cmp eax, 0xf20fd8ec
jg 0x40cb17
cmp eax, 0xea77dba0
jne 0x40cac0
mov dword [ebp - 0x10], 0x860278e0
jmp 0x40cac0
cmp eax, 0x1d665fc9
jg 0x40cb3a
cmp eax, 0xf20fd8ed
jne 0x40cac0
mov eax, 0x1d665fca
cmp dword [ebp - 4], 0
je 0x40cb35
mov eax, 0x74d223f5
mov dword [ebp - 0x10], eax
jmp 0x40cac0
cmp eax, 0x76e12a9c
jg 0x40cb8b
cmp eax, 0x74d223f4
jg 0x40cbae
cmp eax, 0x6126e594
jg 0x40cbdc
cmp eax, 0x5668f8e5
jg 0x40cbf3
cmp eax, 0x4ba457f9
jg 0x40cc19
cmp eax, 0x1d665fca
je 0x40cc30
cmp eax, 0x1d6eb3d8
jne 0x40cc3c
mov dword [ebp - 0x10], 0x24688a34
jmp 0x40cac0
cmp eax, 0x76e12a9d
jne 0x40cac0
mov eax, 0x1d6eb3d8
cmp dword [ebp - 0xc], 0
jne 0x40cba6
mov eax, 0x6126e595
mov dword [ebp - 0x10], eax
jmp 0x40cac0
cmp eax, 0x74d223f5
jne 0x40cac0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0x76e12a9d
jmp 0x40cac0
cmp eax, 0x6126e595
jne 0x40cac0
mov dword [ebp - 0x10], 0x860278e0
jmp 0x40cac0
cmp eax, 0x5668f8e6
jne 0x40cac0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0x24688a34
jmp 0x40cac0
cmp eax, 0x4ba457fa
jne 0x40cac0
mov dword [ebp - 0x10], 0x6126e595
jmp 0x40cac0
mov dword [ebp - 0x10], 0x76e12a9d
jmp 0x40cac0
cmp eax, 0x24688a34
jne 0x40cac0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0x4ba457fa
jmp 0x40cac0
add esp, 0x28
pop ebp
ret
Function at 0x42113a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4cf3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041df8f
mov dword [ebp - 0x14], eax
cmp dword [0x4d0c7c], edi
jne 0x42122b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4211b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42130b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42130b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42130b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4d0c7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4d0c80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4d0c84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d0c8c], eax
test eax, eax
je 0x421228
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4d0c88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x421250
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x421243
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x421265
push 4
pop eax
jmp 0x42130d
cmp dword [ebp - 0x14], edi
je 0x421265
push dword [0x4d0c7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42124a
mov eax, dword [0x4d0c88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4212c3
cmp dword [0x4d0c8c], esi
je 0x4212c3
push eax
call ebx
push dword [0x4d0c8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4212c3
test eax, eax
je 0x4212c3
call ecx
test eax, eax
je 0x4212b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4212b8
test byte [ebp - 8], 1
jne 0x4212c3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4212f3
mov eax, dword [0x4d0c80]
cmp eax, esi
je 0x4212f0
push eax
call ebx
test eax, eax
je 0x4212f0
call eax
mov edi, eax
test edi, edi
je 0x4212f0
mov eax, dword [0x4d0c84]
cmp eax, esi
je 0x4212f0
push eax
call ebx
test eax, eax
je 0x4212f0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4d0c7c]
call ebx
test eax, eax
je 0x42130b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42130d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b099
leave
ret
Function at 0x401647
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x403148
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x40176b
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x401741
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret
Function at 0x401110
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4011a4
cmp word [ebx + 8], 2
push edi
jne 0x401175
cmp word [ebx + 0xa], 4
jne 0x401175
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x401175
jmp 0x401150
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.004010a0
mov dword [esi], eax
test eax, eax
je 0x401198
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x401150
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push eax
call fcn.0040e85f
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4011b4.11001
jmp dword [eax*4 + 0x4011dc]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10
Function at 0x401a10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x238
mov eax, dword [0x4f5608]
xor eax, esp
mov dword [esp + 0x234], eax
cmp dword [0x4fdad0], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], str.getaddrinfo
mov dword [esp + 0x14], 0x401470
mov dword [esp + 0x18], str.getnameinfo
mov dword [esp + 0x1c], 0x401760
mov dword [esp + 0x20], str.freeaddrinfo
mov dword [esp + 0x24], fcn.00401420
je 0x401a75
movzx eax, word [esp + 0x24c]
mov eax, dword [eax*8 + 0x4faf44]
jmp 0x401b8c
push 0x104
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x401b73
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0040c8dc
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.0040e5e9
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401aec
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x401b38
push esi
call ebp
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.0040c8dc
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.0040e5e9
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x401b73
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x401b38
push esi
call ebp
jmp 0x401b73
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
mov dword [esp + edi*8 + 0x14], eax
test eax, eax
je 0x401b33
inc edi
cmp edi, 3
jl 0x401b40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x4faf44], edx
mov dword [0x4faf4c], eax
mov dword [fcn.00401420], ecx
movzx edx, word [esp + 0x24c]
mov eax, dword [edx*8 + 0x4faf44]
mov dword [0x4fdad0], 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a326
add esp, 0x238
ret 4

Function at 0x401db0
Capabilities:
Get socket status
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp fcn.00401dc0
Function at 0x403d30
Capabilities:
Send data
Send data on socket

Disassembly:
push edi
mov edi, eax
movzx ecx, word [edi]
xor eax, eax
movzx edx, cx
jmp 0x403d40
cmp edx, dword [eax*4 + 0x4ffa10]
je 0x403d51
inc eax
cmp eax, 2
jl 0x403d40
jmp 0x403d5d
mov eax, dword [eax*4 + 0x4ff8e0]
cmp eax, 0xffffffff
jne 0x403d73
push str.cannot_find_family_compatible_socket_to_send_ntp_packet
push 3
call fcn.00405890
add esp, 8
push 1
call fcn.0040ec6c
mov edx, 2
sub dx, cx
movzx ecx, dx
mov edx, dword [esp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xc
add ecx, 0x10
push ecx
mov ecx, dword [esp + 0xc]
push edi
push 0
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x403dcb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x403dcb
cmp eax, 0x2747
je 0x403dcb
call fcn.004051b0
push eax
push str.sendto__s_:__m
push 3
call fcn.00405890
add esp, 0xc
pop edi
ret
Function at 0x403dd0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x194
mov eax, dword [0x4f5608]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recvfrom]
push esi
push edi
xor ebx, ebx
xor eax, eax
mov ecx, 0x41
mov esi, 0x4ffa20
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
push eax
push eax
lea edx, [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x4ff8cc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
xor esi, esi
cmp dword [0x4ff8d8], esi
mov edi, eax
jle 0x403e58
mov edi, edi
mov edx, dword [esi*4 + 0x4ff8e0]
lea ecx, [esp + 0x28]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x403e51
inc esi
cmp esi, dword [0x4ff8d8]
jl 0x403e30
jmp 0x403e58
mov ebx, dword [esi*4 + 0x4ff8e0]
test edi, edi
je 0x403f98
cmp edi, 0xffffffff
je 0x403f7f
lea eax, [esp + 0x18]
push eax
call fcn.00406440
add esp, 4
cmp dword [0x4fb144], 0
jne 0x403f67
mov ecx, dword [0x4fdd14]
test ecx, ecx
je 0x403f67
push 0x4fdcf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4fdcec]
test esi, esi
je 0x403ecc
mov edx, dword [esi]
push 0x88c
push 0
mov dword [0x4fdcec], edx
dec dword [0x4fdd14]
push esi
call fcn.004151d0
add esp, 0xc
inc dword [esi + 0x888]
jmp 0x403ed2
inc dword [0x4fdcf4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4fdcf8
call edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 4]
push ecx
push 0
push 0x848
lea edx, [esi + 0x40]
push edx
push ebx
mov dword [esp + 0x2c], 0x1c
call ebp
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
jne 0x403f4f
push 0x4fdcf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x888], 0xffffffff
mov eax, dword [esi + 0x888]
je 0x403f30
push eax
push str._freerecvbuff_non_zero_usage:__d_
push 3
call fcn.00405890
add esp, 0xc
mov eax, dword [0x4fdcec]
mov dword [esi], eax
mov dword [0x4fdcec], esi
inc dword [0x4fdd14]
push 0x4fdcf8
call edi
jmp 0x403df0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
call fcn.004044d0
jmp 0x403df0
push 0
push 0
push 0
push 0x64
lea eax, [esp + 0x140]
push eax
push ebx
call ebp
jmp 0x403df0
call fcn.0040b8d7
cmp dword [eax], 4
je 0x403f98
push str.select___error:__m
push 3
call fcn.00405890
add esp, 8
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a326
add esp, 0x194
ret
Function at 0x408d20
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x410
mov eax, dword [0x4f5608]
xor eax, esp
mov dword [esp + 0x40c], eax
mov ecx, dword [esp + 0x414]
lea eax, [esp + 8]
push ecx
mov edx, eax
mov dword [esp + 8], eax
push 0x400
push edx
lea eax, [esp + 0x424]
call fcn.00407820
mov eax, dword [0x4fde88]
add esp, 0xc
test eax, eax
jne 0x408d76
push 0x4fb008
call fcn.00408df0
mov eax, dword [0x4fde88]
add esp, 4
cmp esi, 4
je 0x408db2
jle 0x408d9a
cmp esi, 7
jg 0x408d9a
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0x40000003
push 0
push 4
jmp 0x408dc8
push 0
lea edx, [esp + 8]
push edx
push 0
push 1
push 0
push 0xc0000001
push 0
push 1
jmp 0x408dc8
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push reloc.WS2_32.dll_bind
push 0
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0040a326
add esp, 0x410
ret
Function at 0x409ce0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x4f5608]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, eax
test edi, edi
je 0x409d49
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call ebx
push str.No_usable_winsock:__m_n
call fcn.0040b3ff
mov esi, eax
add esi, 0x40
call fcn.004057b0
add esp, 4
push edi
call ebx
push str.No_usable_winsock:__m
push 3
call fcn.00405890
add esp, 8
push 1
call fcn.0040ec6c
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040a326
mov esp, ebp
pop ebp
ret

Function at 0x40a326
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f5608]
jne 0x40a330
repz ret
jmp fcn.0041083d

Function at 0x41a1d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004143ff
and dword [ebp - 4], 0
cmp dword [0x4fbc28], 0
mov ebx, eax
jne 0x41a286
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a337
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4be308
push edi
call esi
test eax, eax
je 0x41a337
push eax
call fcn.0041438d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4fbc28], eax
call esi
push eax
call fcn.0041438d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4fbc2c], eax
call esi
push eax
call fcn.0041438d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4fbc30], eax
call esi
push eax
call fcn.0041438d
pop ecx
mov dword [0x4fbc38], eax
test eax, eax
je 0x41a286
push 0x4be2b0
push edi
call esi
push eax
call fcn.0041438d
pop ecx
mov dword [0x4fbc34], eax
mov eax, dword [0x4fbc34]
cmp eax, ebx
je 0x41a2de
cmp dword [0x4fbc38], ebx
je 0x41a2de
push eax
call fcn.00414408
push dword [0x4fbc38]
mov esi, eax
call fcn.00414408
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a2de
test edi, edi
je 0x41a2de
call esi
test eax, eax
je 0x41a2d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a2d5
test byte [ebp - 0xc], 1
jne 0x41a2de
or dword [ebp + 0x10], 0x200000
jmp 0x41a317
mov eax, dword [0x4fbc2c]
cmp eax, ebx
je 0x41a317
push eax
call fcn.00414408
pop ecx
test eax, eax
je 0x41a317
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a317
mov eax, dword [0x4fbc30]
cmp eax, ebx
je 0x41a317
push eax
call fcn.00414408
pop ecx
test eax, eax
je 0x41a317
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fbc28]
call fcn.00414408
pop ecx
test eax, eax
je 0x41a337
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a339
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0040f000
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
jmp 0x42b50f
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x42b536
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor edx, ecx
movzx eax, byte [ebp - 1]
or eax, edx
mov byte [ebp - 1], al
jmp 0x42b506
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x430290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.0040f000
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00430390
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43033b
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004225c0
add esp, 0x14
push 0x4d7b90
mov edx, dword [ebp + 0xc]
push edx
push 0x4d7b8c
mov eax, dword [ebp + 8]
push eax
push str.fopen_
push 5
call fcn.00422d10
add esp, 0x18
call fcn.0040b8d7
cmp dword [eax], 2
jne 0x43031f
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004225c0
add esp, 0x14
jmp 0x430337
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004225c0
add esp, 0x14
xor eax, eax
jmp 0x430387
call fcn.00430510
push eax
call fcn.004298c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x430362
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040e7e3
add esp, 4
xor eax, eax
jmp 0x430387
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00429af0
add esp, 8
mov eax, dword [ebp - 4]
push eax
push 1
push 0x6a
mov ecx, dword [ebp - 8]
push ecx
call fcn.00429fe0
add esp, 0x10
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4306e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0040f000
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x430754
cmp dword [ebp + 0xc], 0
je 0x430754
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
and edx, 0
je 0x43072c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040cad8
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x430748
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040cad8
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x430754
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x440a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0040f000
mov dword [ebp - 4], 0
jmp 0x440a7f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x440acd
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
shl eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x440acb
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
and ecx, 0x80
je 0x440acb
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
or eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x440a76
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
and eax, 0x80
je 0x440b02
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
neg ecx
sbb ecx, ecx
and ecx, 0xffffff94
add ecx, 0x87
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0x10]
movzx eax, byte [edx - 1]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x10]
mov byte [ecx - 1], al
mov esp, ebp
pop ebp
ret
Function at 0x4473f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0040f000
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x14]
jne 0x447428
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x44744b
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x44744b
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.004225c0
add esp, 0x14
or eax, 0xffffffff
jmp 0x44755d
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp ecx, 0x6b
jne 0x447509
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x44747e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x4474d5
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xd]
cmp eax, 0xba
jne 0x4474a4
jmp 0x4474d5
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x4474d3
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004225c0
add esp, 0x14
or eax, 0xffffffff
jmp 0x44755d
jmp 0x447475
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x447507
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004225c0
add esp, 0x14
or eax, 0xffffffff
jmp 0x44755d
jmp 0x447512
mov eax, dword [ebp + 0x14]
sub eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x447546
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004225c0
add esp, 0x14
or eax, 0xffffffff
jmp 0x44755d
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040f1c0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x453c10
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004151d0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc1059ed8
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xf70e5939
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x64f98fa7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret