Function at 0x6b42d7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov edi, ecx
mov ecx, 0
push esi
push ebx
sub esp, 0x7c
mov esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x6c], esi
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x3c], 0
mov esi, edx
test eax, eax
mov ebx, dword [esp + 0x94]
cmovns ecx, eax
mov dword [esp + 0x40], ecx
test byte [esp + 0xa8], 0x40
jne 0x6b42d860
test edx, edx
js 0x6b42db68
test byte [esp + 0xa8], 2
jne 0x6b42ddd8
mov eax, dword [esp + 0xa8]
and eax, 4
mov dword [esp + 0x3c], eax
je 0x6b42d860
sub dword [esp + 0xa0], 1
mov dword [esp + 0x3c], 0x20
lea esi, [esi]
mov dword [esp + 0x34], 0x6b5cdbba
test byte [esp + 0xa8], 8
je 0x6b42d893
mov dword [esp + 0x34], 0x6b5cdbb5
cmp ebp, 8
je 0x6b42d893
cmp ebp, 0x10
mov edx, 0x6b5cdbb7
mov eax, 0x6b5cdbba
cmove eax, edx
mov dword [esp + 0x34], eax
mov edx, 0x6b5cdbbb
test byte [esp + 0xa8], 0x20
mov eax, str.0123456789abcdef
mov dword [esp + 0x44], edi
cmovne eax, edx
mov dword [esp + 0x20], ebp
sar ebp, 0x1f
mov dword [esp + 0x24], ebp
xor ebp, ebp
mov dword [esp + 0x2c], eax
lea esi, [esi]
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x24]
mov dword [esp], ebx
add ebp, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov edi, ebx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call dbg.__udivmoddi4
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x48]
movzx ecx, byte [ecx]
mov ebx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + ebp + 0x51], cl
mov ecx, esi
mov esi, edx
mov edx, dword [esp + 0x24]
cmp edi, eax
sbb ecx, edx
jae 0x6b42da30
cmp ebp, 0x1a
mov eax, 0x19
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
cmove ebp, eax
mov eax, dword [esp + 0x34]
mov esi, ebx
mov byte [esp + ebp + 0x52], 0
sub esi, ebp
mov dword [esp], eax
call sym._strlen
cmp ebp, ebx
mov edx, eax
mov eax, ebx
mov ebx, dword [esp + 0xa0]
cmovge eax, ebp
sub ebx, eax
mov eax, ebx
xor ebx, ebx
test esi, esi
cmovs esi, ebx
sub eax, edx
mov edx, dword [esp + 0xa8]
cmovns ebx, eax
and edx, 1
mov dword [esp + 0x20], edx
test byte [esp + 0xa8], 0x10
je 0x6b42da40
cmp esi, ebx
mov dword [esp + 0x20], 0
cmovl esi, ebx
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x6b42db3a
mov eax, dword [esp + 0x34]
movzx ebx, byte [eax]
test bl, bl
je 0x6b42dbb8
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x34]
jmp 0x6b42d9f5
mov edx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [edx]
cmp eax, edx
ja 0x6b42da10
cmp dword [esp + 0x28], 0
je 0x6b42db98
cmp eax, edx
je 0x6b42dd08
cmp edx, eax
jbe 0x6b42d9e6
mov ecx, dword [ebp]
test ecx, ecx
je 0x6b42ddc0
lea edx, [eax + 1]
mov dword [edi], edx
mov byte [ecx + eax], bl
movzx ebx, byte [esi + 1]
add esi, 1
test bl, bl
je 0x6b42dbb0
mov ecx, dword [ebp]
test ecx, ecx
jne 0x6b42d9b0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6b42da10
mov edx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [edx]
cmp eax, edx
jbe 0x6b42d9c7
xor eax, eax
mov esi, dword [esp + 0x6c]
xor esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42de46
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebp, 0x19
jle 0x6b42d8c0
jmp 0x6b42d910
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x6b42db28
test eax, eax
jle 0x6b42de3d
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x38]
jmp 0x6b42daa8
mov edx, dword [edi]
mov eax, dword [ebp]
cmp edx, eax
ja 0x6b42da10
cmp dword [esp + 0x28], 0
je 0x6b42db88
cmp edx, eax
je 0x6b42dacb
cmp edx, eax
jae 0x6b42da9f
mov ecx, dword [esi]
test ecx, ecx
je 0x6b42dcf0
lea eax, [edx + 1]
mov dword [edi], eax
mov byte [ecx + edx], 0x20
sub ebx, 1
je 0x6b42de28
mov ecx, dword [esi]
test ecx, ecx
jne 0x6b42da70
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6b42da10
mov edx, dword [edi]
mov eax, dword [ebp]
cmp edx, eax
ja 0x6b42da10
cmp edx, eax
jne 0x6b42da88
cmp edx, 0x7ffffbff
ja 0x6b42da10
mov eax, dword [esp + 0x28]
add edx, 0x400
mov dword [ebp], edx
mov eax, dword [eax]
test eax, eax
je 0x6b42dc90
mov dword [esp + 0xc], 0x342
mov dword [esp + 8], str.crypto_bio_b_print.c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_realloc
test eax, eax
je 0x6b42da10
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov edx, dword [edi]
mov eax, dword [ebp]
jmp 0x6b42da88
mov edx, dword [esp + 0x3c]
neg ebx
mov dword [esp + 0x20], ebx
test edx, edx
je 0x6b42d98d
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call sym._doapr_outch
test eax, eax
jne 0x6b42d98d
jmp 0x6b42da10
neg ebx
mov dword [esp + 0x3c], 0x2d
adc esi, 0
sub dword [esp + 0xa0], 1
neg esi
jmp 0x6b42d860
cmp edx, eax
jb 0x6b42da96
jmp 0x6b42da9f
cmp eax, edx
jb 0x6b42d9de
movzx ebx, byte [esi + 1]
add esi, 1
test bl, bl
jne 0x6b42d9f5
nop
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x6b42dbfb
mov dword [esp + 0x2c], ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
lea esi, [esi]
nop
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x30
mov ecx, edi
mov edx, ebp
mov dword [esp], eax
mov eax, ebx
call sym._doapr_outch
test eax, eax
je 0x6b42da10
sub esi, 1
jne 0x6b42dbd0
mov ebp, dword [esp + 0x2c]
lea esi, [esp + ebp + 0x51]
lea ebx, [esp + 0x52]
mov ebp, dword [esp + 0x28]
jmp 0x6b42dc12
mov esi, eax
movsx eax, byte [esi]
mov ecx, edi
mov edx, ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
call sym._doapr_outch
test eax, eax
je 0x6b42da10
lea eax, [esi - 1]
cmp ebx, esi
jne 0x6b42dc10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6b42dded
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x6b42dc69
add ebx, 1
je 0x6b42dded
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x20
mov ecx, edi
mov edx, ebp
mov dword [esp], eax
mov eax, esi
call sym._doapr_outch
test eax, eax
jne 0x6b42dc60
jmp 0x6b42da10
mov dword [esp], edx
mov dword [esp + 8], 0x336
mov dword [esp + 4], str.crypto_bio_b_print.c
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edx, dword [esp + 0x28]
mov dword [edx], eax
test eax, eax
je 0x6b42ddf7
mov edx, dword [edi]
test edx, edx
je 0x6b42dcd8
mov ecx, dword [esi]
test ecx, ecx
je 0x6b42da10
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov edx, dword [edi]
mov dword [esi], 0
cmp dword [ebp], edx
jbe 0x6b42da9f
lea esi, [esi]
nop
mov eax, dword [esp + 0x28]
lea ecx, [edx + 1]
mov eax, dword [eax]
mov dword [edi], ecx
mov byte [eax + edx], 0x20
jmp 0x6b42da9f
cmp eax, 0x7ffffbff
ja 0x6b42da10
mov edx, dword [esp + 0x30]
add eax, 0x400
mov dword [edx], eax
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
test edx, edx
je 0x6b42dd60
mov dword [esp + 0xc], 0x342
mov dword [esp + 8], str.crypto_bio_b_print.c
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.libcrypto_1_1.dll_CRYPTO_realloc
test eax, eax
je 0x6b42da10
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [edx]
jmp 0x6b42d9cf
mov dword [esp + 8], 0x336
mov dword [esp + 4], str.crypto_bio_b_print.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [eax], edx
test edx, edx
je 0x6b42ddf7
mov eax, dword [edi]
test eax, eax
je 0x6b42dda7
mov ecx, dword [ebp]
test ecx, ecx
je 0x6b42da10
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._memcpy
mov eax, dword [edi]
mov edx, dword [esp + 0x30]
mov dword [ebp], 0
cmp dword [edx], eax
jbe 0x6b42d9e6
lea esi, [esi]
mov edx, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [edx]
mov dword [edi], ecx
mov byte [edx + eax], bl
jmp 0x6b42d9e6
sub dword [esp + 0xa0], 1
mov dword [esp + 0x3c], 0x2b
jmp 0x6b42d860
mov eax, 1
jmp 0x6b42da12
mov dword [esp + 0x10], 0x337
mov dword [esp + 0xc], str.crypto_bio_b_print.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x96
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42da10
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
jmp 0x6b42d981
mov dword [esp + 0x20], ebx
jmp 0x6b42d981
call sym.___stack_chk_fail
lea esi, [esi]
nop