joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036ce0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x10036dad
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10036d01
cmp al, 0x6b
jne 0x10036dad
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x10036d6e
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10036d25
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x10036d25
cmp al, 0xbb
jne 0x10036d4e
add ecx, 1
cmp ecx, esi
jl 0x10036d11
sub esi, ecx
test ecx, ecx
jne 0x10036d71
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x10036d9a
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.100d73f0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x10042c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x10042c46
mov dword [esp + 4], ecx
jmp fcn.10046040
mov dword [esp + 4], ecx
jmp eax
Function at 0x10049b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10049b7c
ret
mov dword [esp + 4], eax
jmp sym.LIBEAY32.dll_EC_GROUP_precompute_mult

Function at 0x10053320
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.10052b40
mov edi, eax
add esp, 4
test edi, edi
jne 0x100533c6
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call sym.LIBEAY32.dll_ERR_put_error
push 0x1010150c
push esi
push 0x10101508
push ebx
push str.fopen_
push 5
call sym.LIBEAY32.dll_ERR_add_error_data
add esp, 0x2c
call fcn.100d81df
cmp dword [eax], 2
je 0x100533a5
call fcn.100d81df
cmp dword [eax], 6
je 0x100533a5
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x1014b7a0
call sym.LIBEAY32.dll_BIO_new
mov esi, eax
add esp, 4
test esi, esi
jne 0x100533e8
push edi
call fcn.100d9b8a
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x8000
push esi
call sym.LIBEAY32.dll_BIO_clear_flags
push edi
push 1
push 0x6a
push esi
call sym.LIBEAY32.dll_BIO_ctrl
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x100536a0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call sym.LIBEAY32.dll_BIO_clear_flags
add esp, 8
test esi, esi
jg 0x100536fe
je 0x100536dc
cmp esi, 0xffffffff
jne 0x100536fe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
je 0x100536f3
cmp eax, 0xb
je 0x100536f3
cmp eax, 0x2733
jne 0x100536fe
push 0xa
push edi
call sym.LIBEAY32.dll_BIO_set_flags
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x10053d80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x20]
cmp dword [esi], 6
je 0x10053d97
call fcn.10053740
test eax, eax
jle 0x10053de0
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push ebx
mov esi, eax
call sym.LIBEAY32.dll_BIO_clear_flags
add esp, 8
test esi, esi
jg 0x10053dde
push esi
call sym.LIBEAY32.dll_BIO_sock_should_retry
add esp, 4
test eax, eax
je 0x10053dde
push 0xa
push ebx
call sym.LIBEAY32.dll_BIO_set_flags
add esp, 8
mov eax, esi
pop esi
pop ebx
ret

Function at 0x100565c0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x100565fb
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov eax, esi
pop esi
ret

Function at 0x10056920
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 1
push 6
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
add eax, 1
ret

Function at 0x10056940
Capabilities:
Set socket configuration

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jge 0x10056981
push 0x233
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
test esi, esi
sete al
pop esi
ret
Function at 0x10056990
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebp
mov ebx, 1
call fcn.10056600
mov edi, eax
add esp, 4
test edi, edi
jge 0x100569cc
push 0x7b
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x10056a8a
call sym.LIBEAY32.dll_BIO_sock_init
cmp eax, 1
jne 0x10056a9a
test edi, edi
jle 0x100569e5
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
push 0x8e
push str..crypto_bio_b_sock.c
push 0x16
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10056a20
push 0x92
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x10056a70
cmp word [eax + 8], 2
je 0x10056a41
push 0x99
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x10056a70
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx]
mov byte [esi], cl
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dl, byte [ecx + 1]
mov byte [esi + 1], dl
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
movzx ecx, byte [edx + 2]
mov byte [esi + 2], cl
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
movzx ecx, byte [eax + 3]
mov byte [esi + 3], cl
xor ebx, ebx
push 0xa2
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
test ebx, ebx
je 0x10056aa1
push ebp
push 0x10101538
push 2
call sym.LIBEAY32.dll_ERR_add_error_data
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x100583c0
Capabilities:
Set socket configuration

Disassembly:
mov eax, 4
call fcn.100d6420
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 0x28], 0
jg 0x100583d9
cmp dword [ecx + 0x2c], 0
jle 0x10058428
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push 4
lea edx, [esp + 4]
push edx
add eax, ecx
push 0x1006
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1c]
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x10058428
push str.setsockopt
call fcn.100dabd1
add esp, 4
pop ecx
ret

Function at 0x10058980
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x10
call fcn.100d6420
push edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 8], 0
cmp dword [edi + 0x28], 0
jg 0x100589a6
cmp dword [edi + 0x2c], 0
jle 0x10058aa2
mov edx, dword [ebx + 0x1c]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jge 0x100589df
push str.getsockopt
call fcn.100dabd1
add esp, 4
jmp 0x10058a08
mov ecx, dword [esp + 4]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x30], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [edi + 0x34], ecx
push esi
lea esi, [esp + 0x10]
call fcn.100588b0
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x14]
cmp edx, eax
mov ecx, dword [edi + 0x28]
jge 0x10058a2e
mov esi, 0xf4240
sub esi, eax
add edx, esi
sub ecx, 1
jmp 0x10058a30
sub edx, eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
pop esi
jge 0x10058a40
xor ecx, ecx
lea edx, [ecx + 1]
jmp 0x10058a42
sub ecx, eax
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x10058a4e
cmp dword [edi + 0x34], eax
je 0x10058a59
cmp eax, ecx
jg 0x10058a59
jne 0x10058aa2
cmp dword [edi + 0x34], edx
jl 0x10058aa2
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
add ecx, edx
mov edx, dword [ebx + 0x1c]
shr eax, 0x1f
push 4
add eax, ecx
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x10058aa2
push str.setsockopt
call fcn.100dabd1
add esp, 4
pop edi
add esp, 0x10
ret
Function at 0x10058bb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0x20]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebx + 0x1c], 0
je 0x10058be0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x10058c0b
movzx ecx, word [ebx]
cmp cx, 2
mov eax, 0x1c
jne 0x10058bf3
mov eax, 0x10
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ebx
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
push 0xf
push edi
mov esi, eax
call sym.LIBEAY32.dll_BIO_clear_flags
add esp, 8
test esi, esi
jg 0x10058c4e
je 0x10058c23
cmp esi, 0xffffffff
jne 0x10058c4e
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebp
cmp eax, 4
je 0x10058c3d
cmp eax, 0xb
je 0x10058c3d
cmp eax, 0x2733
jne 0x10058c4d
push 0xa
push edi
call sym.LIBEAY32.dll_BIO_set_flags
add esp, 8
call ebp
mov dword [ebx + 0x20], eax
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x10059640
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10059689
mov al, byte [edx]
test al, al
je 0x10059689
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]
add edx, 1
xor esi, ecx
test al, al
jne 0x10059657
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1005a680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [esp + 0x3c], 0
jne 0x1005a6c7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.100d6528
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.100db22c
add esp, 8
test eax, eax
jl 0x1005a6b0
mov eax, 8
call fcn.100d6420
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call sym.LIBEAY32.dll_RAND_add
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x1005a6b0
push 0x10101b2c
push esi
call fcn.100d9b05
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x40], edi
je 0x1005a7c1
test dword [esp + 0x4e], 0x2000
je 0x1005a744
cmp ebx, 0xffffffff
jne 0x1005a72e
mov ebx, 0x800
push 0
push 4
push 0
push edi
call fcn.100db058
add esp, 0x10
jmp 0x1005a744
mov edi, dword [esp + 0x40]
test ebx, ebx
jle 0x1005a752
cmp ebx, 0x400
mov esi, ebx
jl 0x1005a757
mov esi, 0x400
push edi
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.100d9f00
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x44], edi
jle 0x1005a7a5
fild dword [esp + 0x44]
mov eax, 8
call fcn.100d6420
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call sym.LIBEAY32.dll_RAND_add
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x1005a740
sub ebx, esi
test ebx, ebx
jg 0x1005a740
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100d9b8a
lea edx, [esp + 0x7c]
push 0x400
push edx
call sym.LIBEAY32.dll_OPENSSL_cleanse
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d6528
mov esp, ebp
pop ebp
ret
Function at 0x1005a7e0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x438
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x434], eax
push ebp
push esi
mov esi, dword [esp + 0x444]
lea eax, [esp + 0xc]
push eax
xor ebp, ebp
push esi
mov dword [esp + 0x10], ebp
call fcn.100db22c
add esp, 8
cmp eax, 0xffffffff
je 0x1005a83e
test dword [esp + 0x12], 0x2000
je 0x1005a83e
pop esi
lea eax, [ebp + 1]
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.100d6528
add esp, 0x438
ret
push ebx
push 0x180
push 0x8101
push esi
call fcn.100dbeaa
add esp, 0xc
cmp eax, 0xffffffff
je 0x1005a86b
push 0x10101b30
push eax
call fcn.100db5cb
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x1005a883
push 0x10101b30
push esi
call fcn.100d9b05
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x1005a929
push edi
push 0x180
push esi
call fcn.100db55e
add esp, 8
mov edi, 0x400
jmp 0x1005a8a0
cmp edi, 0x400
mov esi, 0x400
jg 0x1005a8af
mov esi, edi
lea ecx, [esp + 0x44]
push esi
push ecx
sub edi, 0x400
call sym.LIBEAY32.dll_RAND_bytes
add esp, 8
test eax, eax
jg 0x1005a8cf
mov dword [esp + 0x10], 1
push ebx
push esi
lea edx, [esp + 0x4c]
push 1
push edx
call fcn.100da07a
add esp, 0x10
test eax, eax
jle 0x1005a8ec
add ebp, eax
test edi, edi
jg 0x1005a8a0
jmp 0x1005a8ee
xor ebp, ebp
push ebx
call fcn.100d9b8a
lea eax, [esp + 0x48]
push 0x400
push eax
call sym.LIBEAY32.dll_OPENSSL_cleanse
add esp, 0xc
cmp dword [esp + 0x10], 0
pop edi
je 0x1005a929
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.100d6528
add esp, 0x438
ret
mov ecx, dword [esp + 0x440]
pop ebx
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100d6528
add esp, 0x438
ret
Function at 0x1005f3e0
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 0x1005f4d0
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x1005f462
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x1005f4bb
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x1005f474
xor eax, eax
mov ah, byte [esi + 1]
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_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x1005f4a6
lea edx, [edi + 0x3c]
jmp 0x1005f4b3
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x1005f400
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x100cfd30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
test edx, edx
push ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], eax
jle 0x100cfdc5
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
mov esi, eax
lea edi, [esp + 0x1c]
mov ebx, ecx
sub esi, edi
sub ebx, eax
mov dword [esp + 0x10], edx
mov edi, edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.100ceb70
add esp, 0xc
xor ecx, ecx
lea edi, [esi + ebx]
jmp 0x100cfda0
lea edx, [esp + ecx + 0x1c]
mov al, byte [esi + edx]
xor al, byte [edx]
add ecx, 1
cmp ecx, 8
mov byte [esp + ecx + 0x13], al
mov byte [edi + edx], al
jl 0x100cfda0
add esi, 8
sub dword [esp + 0x10], 1
jne 0x100cfd80
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.100d6528
add esp, 0x18
ret
Function at 0x100d4730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.100d6420
mov eax, dword [0x10151618]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 4]
push ebp
mov ebp, dword [ebx]
push esi
push edi
lea esi, [ebx + 0x10]
mov ecx, 8
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x30]
mov ecx, 8
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
je 0x100d483a
xor eax, eax
push ecx
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.100d73f0
mov eax, dword [ebx + 8]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x6c]
call fcn.100d3f90
add esp, 0x10
xor ecx, ecx
xor eax, eax
mov edi, edi
movzx esi, byte [esp + eax + 0x1c]
movzx edx, byte [esp + eax + 0x3c]
add esi, ecx
movzx ecx, byte [esp + eax + 0x1d]
add edx, esi
mov byte [esp + eax + 0x3c], dl
sar edx, 8
add ecx, edx
movzx edx, byte [esp + eax + 0x3d]
add ecx, edx
movzx edx, byte [esp + eax + 0x1e]
mov byte [esp + eax + 0x3d], cl
sar ecx, 8
add edx, ecx
movzx ecx, byte [esp + eax + 0x3e]
add edx, ecx
movzx ecx, byte [esp + eax + 0x1f]
mov byte [esp + eax + 0x3e], dl
sar edx, 8
add ecx, edx
movzx edx, byte [esp + eax + 0x3f]
add ecx, edx
mov byte [esp + eax + 0x3f], cl
add eax, 4
sar ecx, 8
cmp eax, 0x20
jl 0x100d47d0
mov eax, dword [ebx + 0xc]
cdq
add ebp, eax
adc dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
xor eax, eax
shld edx, ebp, 3
add ebp, ebp
add ebp, ebp
add ebp, ebp
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea esi, [esp + 0x1c]
mov eax, ebp
jl 0x100d488c
jg 0x100d4876
test eax, eax
jbe 0x100d488c
mov byte [esi], al
mov cl, 8
add esi, 1
call fcn.100dcd20
test edx, edx
jg 0x100d4876
jl 0x100d488c
test eax, eax
ja 0x100d4876
mov eax, dword [ebx + 8]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x60]
call fcn.100d3f90
mov ecx, dword [ebx + 8]
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x64]
call fcn.100d3f90
mov edi, dword [esp + 0x18]
add esp, 8
mov ecx, 8
lea esi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100d6528
add esp, 0x70
ret

Function at 0x100d6528
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10151618]
jne 0x100d6532
repz ret
jmp fcn.100de98a
Function at 0x100d9c64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x100d9ca1
cmp dword [ebp + 0x14], edi
je 0x100d9ca1
cmp ecx, edi
jne 0x100d9ca8
call fcn.100d81df
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.100dde0b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x100d9cbc
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x100d9cdd
cmp ebx, 0xffffffff
je 0x100d9ccc
push ebx
push edi
push ecx
call fcn.100d7a80
add esp, 0xc
cmp esi, edi
je 0x100d9c89
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x100d9c89
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x100d9cf9
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x100d9d00
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x100d9df1
test word [esi + 0xc], 0x10c
je 0x100d9d54
mov eax, dword [esi + 4]
test eax, eax
je 0x100d9d54
jl 0x100d9e52
cmp ebx, eax
mov edi, ebx
jb 0x100d9d25
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x100d9df9
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.100e3673
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x100d9de9
cmp ebx, dword [ebp - 0xc]
jb 0x100d9dc1
cmp dword [ebp - 0xc], 0
je 0x100d9d7e
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x100d9d73
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x100d9d7a
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x100d9d89
mov eax, bind
cmp ebx, eax
ja 0x100d9d89
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x100d9e25
push eax
push dword [ebp - 8]
push esi
call fcn.100da4bd
pop ecx
push eax
call fcn.100d8b76
add esp, 0xc
test eax, eax
je 0x100d9e64
cmp eax, 0xffffffff
je 0x100d9e52
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x100d9de9
push esi
call fcn.100e3553
cmp eax, 0xffffffff
pop ecx
je 0x100d9e56
cmp dword [ebp - 4], 0
je 0x100d9e25
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x100d9d08
mov eax, dword [ebp + 0x14]
jmp 0x100d9ca3
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x100d9e10
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.100d7a80
add esp, 0xc
call fcn.100d81df
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x100d9c99
cmp dword [ebp + 0xc], 0xffffffff
je 0x100d9e3b
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.100d7a80
add esp, 0xc
call fcn.100d81df
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x100d9c99
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x100d9ca3
or dword [esi + 0xc], 0x10
jmp 0x100d9e56