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

Disassembly:
push ebp
push ebx
sub esp, 0xd4
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0xd0]
mov dword [esp], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x567468
mov dword [esp + 0x58], 0x5c2bfe
mov dword [esp + 0x60], 0x4c960c
mov dword [esp + 0x64], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
mov ecx, dword [esp + 0xe0]
mov eax, dword [ecx + 4]
cmp eax, 3
jbe 0x4c958d
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
movzx ebx, byte [ecx]
mov dword [esp + 0x24], ebx
add ebx, 3
cmp eax, ebx
mov dword [esp + 0x28], ebx
jb 0x4c969e
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
add edx, 0x10
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4c92f5
lea esi, [esi]
add dword [esp + 0x20], 1
mov ebx, dword [esp + 0x20]
movzx edx, byte [ecx + ebx]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
je 0x4c9560
test eax, eax
je 0x4c92d7
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
add eax, 4
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
jne 0x4c92b0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
add ebx, ecx
movzx ecx, byte [ecx + edx + 2]
movzx edx, byte [ebx]
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 0x28]
movzx edx, dx
add ecx, edx
cmp ecx, eax
jne 0x4c961f
mov dword [esp + 4], edx
lea ecx, [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 0x40], 0xffffffff
call fcn.004c90a0
sub esp, 8
mov edx, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x20], edx
jmp 0x4c9369
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xa8]
mov dword [esp], eax
call fcn.005b2e80
sub esp, 4
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], 8
call eax
test al, al
je 0x4c9394
cmp dword [esp + 0x88], 0xff00
je 0x4c9530
lea ecx, [esp + 0xa4]
mov dword [esp + 0x40], 8
call fcn.004b8920
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x80]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 7
call eax
sub esp, 4
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
cmp ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
je 0x4c94f0
test ecx, ecx
je 0x4c9520
lea eax, [esp + 0xa8]
mov dword [ecx], 0x635e68
add ecx, 4
mov dword [esp], eax
mov dword [esp + 0x40], 9
call fcn.005b2f20
sub esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov ecx, edx
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0xcc]
add ecx, 0x1c
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x40], 0xa
mov dword [esp], eax
call fcn.005769c0
sub esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc4]
mov edx, dword [ecx + 0x20]
cmp edx, eax
cmovbe eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
add eax, 0x2c
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xa4], 0x635e68
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
test ecx, ecx
je 0x4c9350
test eax, eax
je 0x4c9350
test edx, edx
je 0x4c9350
mov ebx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], 0xb
call eax
sub esp, 8
jmp 0x4c9350
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0xa4]
mov dword [esp + 0x40], 7
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.005aecc0
sub esp, 8
jmp 0x4c9493
xor eax, eax
jmp 0x4c9489
lea ecx, [esp + 0x80]
mov dword [esp + 0x40], 0xffffffff
call fcn.0044f470
lea ebx, [esp + 0x3c]
mov dword [esp], ebx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
add esp, 0xd4
pop ebx
pop ebp
ret 4
lea ecx, [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.005acea0
sub esp, 8
mov ebx, dword [esp + 0xe0]
mov ecx, dword [ebx]
jmp 0x4c92e1
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
lea ecx, [esp + 0x7c]
mov dword [esp], str.Certificate_Req:_Bad_certificate_request
mov dword [esp + 0x30], eax
lea eax, [esp + 0x77]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 1
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], 2
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
call fcn.0057b760
sub esp, 4
mov ecx, dword [esp + 0x1c]
call fcn.00567508
mov eax, dword [esp + 0x30]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
jmp dword [eax*4 + 0x5d37e0]
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
lea ecx, [esp + 0x7c]
mov dword [esp], str.Certificate_Req:_Bad_certificate_request
mov dword [esp + 0x38], eax
lea eax, [esp + 0x77]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 5
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], 6
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
call fcn.0057b760
sub esp, 4
mov ecx, dword [esp + 0x1c]
call fcn.00567508
mov eax, dword [esp + 0x38]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
lea ecx, [esp + 0x7c]
mov dword [esp], str.Certificate_Req:_Bad_certificate_request
mov dword [esp + 0x34], eax
lea eax, [esp + 0x77]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 3
call fcn.005674b8
sub esp, 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], 4
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
call fcn.0057b760
sub esp, 4
mov ecx, dword [esp + 0x1c]
call fcn.00567508
mov eax, dword [esp + 0x34]
mov dword [esp + 8], fcn.0057b960
mov dword [esp + 4], 0x62d7c0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_throw
lea ecx, [esp + 0x7c]
call fcn.00567508
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.libstdc_6.dll___cxa_free_exception
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Resume
lea ecx, [esp + 0x7c]
call fcn.00567508
mov eax, dword [esp + 0x34]
jmp 0x4c972a