joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f930
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x490250]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, 0x481fe8
call fcn.0040e860
mov esi, eax
test esi, esi
je 0x40f9ef
cmp dword [0x4a2d30], 0
jne 0x40f965
call fcn.0040f610
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, 2
push ecx
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x7f000001
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
push 1
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40f9ef
push 4
lea edx, [ebp - 0x1c]
push edx
push 0xfffffffffffffffb
push 0xffff
mov dword [esi + 0xc], ebx
push ebx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
lea edi, [ebp - 0x18]
call fcn.0040e520
test eax, eax
jns 0x40fa03
xor edi, edi
cmp dword [esi + 4], edi
je 0x40f9ef
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push 4
push ebx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x40fa29
call fcn.0040e980
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
push ebx
push 0x4814d1
mov eax, esi
call fcn.0040e820
push eax
push str._d_lo_server:_s_d_
lea edx, [esi + 0x18]
push 0x20
push edx
call fcn.00455325
add esp, 0x18
test byte [0x492ce0], 0x80
je 0x40fada
call fcn.00455413
mov edi, dword [eax]
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.socket_loopback_server
push str.sysdeps_win32.cpp
push str._s::_s__:
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x10
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
push eax
push 0x482f58
push ebx
push str.socket_loopback_server:_port__d_type__s___fd__d_n
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x14
call fcn.00454e90
add eax, 0x40
push eax
call fcn.004552a8
add esp, 4
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454b91
mov esp, ebp
pop ebp
ret
Function at 0x40fb00
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x490250]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov edi, ecx
mov eax, 0x481fe8
mov dword [esp + 8], edi
call fcn.0040e860
mov esi, eax
test esi, esi
je 0x40fb61
cmp dword [0x4a2d30], 0
jne 0x40fb3a
call fcn.0040f610
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x40fb75
cmp dword [esi + 4], eax
je 0x40fb61
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
add esp, 4
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dx, word [edi + 8]
push ebx
mov word [esp + 0x10], dx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
movsx eax, word [edi + 0xa]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00457c90
movsx ecx, word [edi + 8]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x40fbf6
xor edi, edi
cmp dword [esi + 4], edi
je 0x40fbe2
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x40fc24
call fcn.0040e980
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push ebx
push 0x4814d1
mov eax, esi
call fcn.0040e820
push eax
push str._d_net_client:_s_d_
lea edx, [esi + 0x18]
push 0x20
push edx
call fcn.00455325
add esp, 0x18
test byte [0x492ce0], 0x80
je 0x40fcd4
call fcn.00455413
mov edi, dword [eax]
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.socket_network_client
push str.sysdeps_win32.cpp
push str._s::_s__:
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x10
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
push eax
mov eax, dword [esp + 0xc]
push 0x482f58
push ebx
push eax
push str.socket_network_client:_host__s_port__d_type__s___fd__d_n
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
call fcn.00454e90
add eax, 0x40
push eax
call fcn.004552a8
add esp, 0x1c
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
Function at 0x40fcf0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x490250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, 0x481fe8
call fcn.0040e860
mov esi, eax
test esi, esi
je 0x40fd7a
cmp dword [0x4a2d30], 0
jne 0x40fd20
call fcn.0040f610
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ebx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
push 1
push 2
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40fd8d
xor edi, edi
cmp dword [esi + 4], edi
je 0x40fd7a
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0x18]
push eax
push 0xfffffffffffffffb
push 0xffff
mov dword [esi + 0xc], edi
push edi
mov dword [ebp - 0x18], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jns 0x40fde9
xor edi, edi
cmp dword [esi + 4], edi
je 0x40fd7a
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], edi
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push 4
push edi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x40fe0e
call fcn.0040e980
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
push ebx
push 0x4814d1
mov eax, esi
call fcn.0040e820
push eax
push str._d_any_server:_s_d_
lea ecx, [esi + 0x18]
push 0x20
push ecx
call fcn.00455325
add esp, 0x18
test byte [0x492ce0], 0x80
je 0x40febc
call fcn.00455413
mov edi, dword [eax]
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.socket_inaddr_any_server
push str.sysdeps_win32.cpp
push str._s::_s__:
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x10
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
push eax
push 0x482f58
push ebx
push str.socket_inaddr_server:_port__d_type__s___fd__d_n
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x14
call fcn.00454e90
add eax, 0x40
push eax
call fcn.004552a8
add esp, 4
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e820
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00454b91
mov esp, ebp
pop ebp
ret
Function at 0x4156d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x490250]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
push str.ADBHOST
mov ebx, ecx
call fcn.00455f07
add esp, 4
test eax, eax
je 0x415707
mov ecx, eax
call fcn.0040fb00
mov esi, eax
test esi, esi
jns 0x415718
mov ecx, ebx
call fcn.0040f680
mov esi, eax
test esi, esi
js 0x415806
test byte [0x492ce0], 8
je 0x415794
call fcn.00455413
mov edi, dword [eax]
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.local_connect_arbitrary_ports
push str.transport_local.cpp
push str._s::_s__:
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x10
call fcn.00455413
push esi
push str.client:_connected_on_remote_on_fd__d_n
mov dword [eax], edi
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0xc
call fcn.00454e90
add eax, 0x40
push eax
call fcn.004552a8
add esp, 4
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00455413
mov dword [eax], edi
mov eax, esi
call fcn.0040e760
mov dword [esp + 0xc], 1
test eax, eax
je 0x4157c4
cmp dword [eax], 0x481fe8
jne 0x4157c4
mov edx, dword [eax + 0xc]
push 4
lea ecx, [esp + 0x10]
push ecx
push 1
push 6
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 8]
push eax
push str.emulator_
push str._s_d
lea ecx, [esp + 0x1c]
push 0x40
push ecx
call fcn.00455325
add esp, 0x14
push 1
push ebx
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.00414820
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00454b91
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.00454b91
mov esp, ebp
pop ebp
ret

Function at 0x415b80
Capabilities:
Create thread

Disassembly:
cmp dword [0x4a4e08], 0
push edi
mov edi, 0x415820
jne 0x415b94
mov edi, 0x4158d0
test byte [0x492ce0], 8
je 0x415c26
push esi
call fcn.00455413
mov esi, dword [eax]
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.local_init
push str.transport_local.cpp
push str._s::_s__:
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
add esp, 0x10
call fcn.00455413
cmp dword [0x4a4e08], 0
mov dword [eax], esi
mov eax, str.client
jne 0x415bee
mov eax, str.server
push eax
push str.transport:_local__s_init_n
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455c4a
call fcn.00454e90
add eax, 0x40
push eax
call fcn.004552a8
add esp, 0x10
push 0x492cc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00455413
mov dword [eax], esi
pop esi
push 0x15b3
push 0
push edi
call fcn.00456c1a
add esp, 0xc
pop edi
cmp eax, 0xffffffff
jne 0x415c5a
cmp dword [0x4a4e08], 0
mov eax, str.client
jne 0x415c4f
mov eax, str.server
push eax
push str.cannot_create_local_socket__s_thread
call fcn.00401050
ret
Function at 0x4164b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x490250]
xor eax, ebp
mov dword [ebp - 4], eax
push str.ANDROID_SDK_HOME
call fcn.00455f07
add esp, 4
test eax, eax
jne 0x4164ec
lea edx, [ebp - 0x108]
push edx
push eax
push eax
push 0x28
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x108]
push str.adb_usb.ini
push str..android
push eax
push str._s_s_s
push 0x200
push esi
call fcn.00455325
xor ecx, ecx
add esp, 0x18
cmp eax, 0x200
setge cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454b91
mov esp, ebp
pop ebp
ret

Function at 0x4198b0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push ebx
call fcn.00455b3d
mov edi, eax
add esp, 8
test edi, edi
jne 0x419946
push 0x7e
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0041c330
push 0x4694e4
push esi
push 0x4694e0
push ebx
push str.fopen_
push 5
call fcn.0041c530
add esp, 0x2c
call fcn.00455413
cmp dword [eax], 2
jne 0x419928
push 0x81
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0041c330
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x83
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0041c330
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x486028
call fcn.00418b90
mov esi, eax
add esp, 4
test esi, esi
jne 0x419968
push edi
call fcn.0045635a
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.00418670
push edi
push 1
push 0x6a
push esi
call fcn.00418980
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x41e480
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.00457be0
mov eax, dword [0x490250]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x41e4e5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x41e4e5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00454e90
add eax, 0x40
push eax
call fcn.00455e61
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00454b91
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00458b38
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x41e574
call fcn.0041e3a0
test eax, eax
je 0x41e574
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00454b91
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00454b91
add esp, 0x108
ret
Function at 0x428520
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x428603
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x42859e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x4285f0
shl edx, 0x10
cmp edi, 2
jne 0x4285af
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x4285dd
lea edx, [edi + 0x3c]
jmp 0x4285ea
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x428540
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret

Function at 0x42a380
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x42a3c7
mov al, byte [edx]
test al, al
je 0x42a3c7
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x42a397
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42c810
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.00457be0
mov eax, dword [0x490250]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
dec ebp
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jle 0x42c875
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.0041c330
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00454b91
add esp, 0x28
ret
cmp ebp, 0x29
jge 0x42c8a3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.0041c330
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00454b91
add esp, 0x28
ret
push 0x37
lea eax, [ebp - 0x14]
push str..crypto_rsa_rsa_oaep.c
push eax
mov dword [esp + 0x18], eax
call fcn.0041d750
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42c8eb
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.0041c330
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00454b91
add esp, 0x28
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.0043a390
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x58]
push 0
push edi
push eax
push ecx
call fcn.0043a2a0
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.00457c10
mov edx, dword [esp + 0x3c]
mov ecx, edi
sub ecx, ebx
add ebp, ecx
push ebx
mov byte [ebp - 0x15], 1
push edx
add ebp, 0xffffffec
push ebp
call fcn.00457c90
push 0x14
push esi
call fcn.00421cf0
add esp, 0x38
test eax, eax
jg 0x42c95f
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00454b91
add esp, 0x28
ret
call fcn.0043a390
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push eax
push 0x14
push esi
push ebx
push ebp
call fcn.0042c6d0
add esp, 0x14
test ebx, ebx
jle 0x42c98f
mov eax, edi
sub ebp, edi
mov ecx, ebx
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x42c984
call fcn.0043a390
push eax
push ebx
push edi
lea eax, [esp + 0x2c]
push 0x14
push eax
call fcn.0042c6d0
lea ecx, [esp + 0x34]
lea edi, [esp + 0x35]
lea ebp, [esp + 0x36]
lea edx, [esp + 0x37]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x38]
add esp, 0x14
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x42c9d0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041d900
mov ecx, dword [esp + 0x38]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454b91
add esp, 0x28
ret
Function at 0x42d020
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x42d0ec
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x42d041
cmp al, 0x6b
jne 0x42d0ec
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x42d0ad
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x42d061
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x42d061
cmp al, 0xbb
jne 0x42d08a
inc ecx
cmp ecx, esi
jl 0x42d051
sub esi, ecx
test ecx, ecx
jne 0x42d0b0
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041c330
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.0041c330
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x42d0d9
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.0041c330
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.00457c90
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0041c330
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x43dbf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x43dc09
mov edi, ebx
mov ebx, eax
jmp 0x43dc0b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x43dc21
push eax
push esi
call fcn.00417f40
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x43dc3d
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x43dc28
cmp eax, dword [edi + 4]
jge 0x43dc52
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x43dc42
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x43dc76
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x43dc76
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x43dc65
pop edi
pop esi
mov eax, 1
pop ebx
ret