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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4b4515
mov eax, dword [ebx + 0x110]
test eax, eax
je 0x4b4515
test byte [ebx + 0x11c], 0x10
jne 0x4b4515
mov dword [esp + 0xc], 0
mov dword [esp + 8], 8
mov edx, dword [ebx + 0x114]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
test eax, eax
jne 0x4b4520
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4b4610
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4b4610
mov dword [esp + 0x30], 0
xor ebp, ebp
test byte [ebx + 0x11c], 2
je 0x4b4577
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4b4577
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4b4577
mov dword [esp + 0x78], str._Confidential_data_not_shown_
jmp 0x4b4583
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4b4675
mov edi, dword [esp + 0x74]
mov eax, 0x718c0f
test edi, edi
jne 0x4b4640
mov edi, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 4], str.chan__p__s___s__n
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.004b7810
test eax, eax
js 0x4b4650
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4b45f9
mov dword [esp + 0xc], eax
mov dword [esp + 8], 8
mov eax, dword [ebx + 0x114]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0x110]
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004b7630
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004b7200
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
jmp 0x4b4551
mov eax, 0x718c0c
jmp 0x4b4594
mov dword [esp + 0xc], str._libassuan_failed_to_format_the_log_message_
mov dword [esp + 8], 8
mov eax, dword [ebx + 0x114]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0x110]
jmp 0x4b45f9
mov esi, dword [esp + 0x84]
test esi, esi
je 0x4b49b0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4b47a0
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x70], ebx
lea esi, [esi]
mov bl, byte [esi]
test bl, bl
js 0x4b4790
mov ebp, ebx
and ebp, 0xff
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll_iscntrl]
test eax, eax
jne 0x4b46e4
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll_isprint]
test eax, eax
je 0x4b46e4
test bl, bl
jne 0x4b4790
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
test ebp, ebp
mov al, 0
setne byte [esp + 0x34]
jne 0x4b4700
mov dword [esp + 0x30], 0
nop
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4b4813
test al, al
je 0x4b4813
mov eax, dword [esp + 0x84]
cmp byte [eax], 0x5b
je 0x4b4813
cmp byte [esp + 0x34], 0
je 0x4b49eb
mov edi, dword [esp + 0x74]
mov eax, 0x718c0f
test edi, edi
je 0x4b4744
mov eax, 0x718c0c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 4], str.chan__p__s__.s_.s_n
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.004b7810
jmp 0x4b45be
inc esi
dec edi
jne 0x4b46b0
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
test ebp, ebp
setne byte [esp + 0x34]
je 0x4b4a03
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4b49fc
mov esi, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x70], ebx
mov bl, byte [esi]
test bl, bl
js 0x4b4800
mov ebp, ebx
and ebp, 0xff
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll_iscntrl]
test eax, eax
jne 0x4b47ef
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll_isprint]
test eax, eax
je 0x4b47ef
test bl, bl
jne 0x4b4800
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
xor eax, eax
jmp 0x4b4700
inc esi
dec edi
jne 0x4b47c3
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov al, 1
jmp 0x4b4700
cmp dword [0x7ba888], 1
sbb eax, eax
mov edi, dword [esp + 0x30]
and eax, 0xfffff83c
mov esi, dword [esp + 0x88]
add edi, esi
add eax, 0x7d4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
cmp eax, edi
jbe 0x4b4843
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x34]
lea eax, [eax + eax*2 + 0x72]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov esi, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4b4650
mov ecx, dword [esp + 0x74]
mov eax, 0x718c0f
test ecx, ecx
je 0x4b4873
mov eax, 0x718c0c
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 8], str.chan__p__s__
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x32
mov dword [esp], esi
call fcn.004b42c0
mov eax, esi
mov ecx, dword [eax]
add eax, 4
lea edx, [ecx - 0x1010101]
xor ecx, 0xffffffff
and edx, ecx
and edx, 0x80808080
je 0x4b489b
test edx, 0x8080
jne 0x4b48c1
shr edx, 0x10
add eax, 2
mov cl, dl
mov edi, dword [esp + 0x88]
add cl, dl
mov esi, dword [esp + 0x34]
sbb eax, 3
mov dword [esp + 0x3c], edi
cmp edi, esi
jbe 0x4b48df
mov dword [esp + 0x3c], esi
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x4b49f5
lea esi, [edi + edi*2]
mov edi, ebx
add esi, eax
mov ecx, dword [esp + 0x84]
mov byte [eax], 0x20
mov dl, byte [ecx]
mov cl, dl
shr cl, 4
cmp cl, 9
lea ebx, [ecx + 0x57]
ja 0x4b490e
lea ebx, [ecx + 0x30]
and edx, 0xf
mov byte [eax + 1], bl
cmp dl, 9
lea ecx, [edx + 0x57]
ja 0x4b491f
lea ecx, [edx + 0x30]
add eax, 3
mov edx, dword [esp + 0x84]
inc edx
mov byte [eax - 1], cl
mov dword [esp + 0x84], edx
cmp eax, esi
jne 0x4b48f2
mov ebx, edi
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
cmp edi, eax
jae 0x4b4997
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b4997
xor edx, edx
mov dword [esp + 0x70], ebx
jmp 0x4b495c
cmp dword [esp + 0x30], edx
jbe 0x4b4993
mov al, byte [ebp + edx]
mov byte [esi], 0x20
mov cl, al
shr cl, 4
cmp cl, 9
lea ebx, [ecx + 0x57]
ja 0x4b4973
lea ebx, [ecx + 0x30]
and eax, 0xf
mov byte [esi + 1], bl
cmp al, 9
lea ecx, [eax + 0x57]
ja 0x4b4983
lea ecx, [eax + 0x30]
inc edx
add esi, 3
mov byte [esi - 1], cl
lea eax, [edx + edi]
cmp eax, dword [esp + 0x34]
jb 0x4b4956
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
ja 0x4b49bd
mov dword [esi], 0xa5d20
jmp 0x4b45c6
mov dword [esp + 0x4c], 0
jmp 0x4b45f9
mov eax, dword [esp + 0x38]
mov dword [esp], esi
sub eax, edi
mov dword [esp + 8], str._...__u_byte_s__skipped_
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x3c
call fcn.004b42c0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add esi, eax
jmp 0x4b49a1
mov ebp, 0x718c12
jmp 0x4b4732
mov esi, eax
jmp 0x4b493a
mov al, 1
jmp 0x4b4700
mov al, 1
jmp 0x4b46f7