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

Disassembly:
mov eax, 0x109c
call fcn.004cc6a0
push ebx
push ebp
mov ebp, dword [esp + 0x10ac]
push esi
push edi
mov edi, edx
mov dword [esp + 0x18], 1
mov edx, ecx
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
test ebp, ebp
jne 0x4c1481
mov eax, dword [esp + 0x10b0]
test eax, eax
je 0x4c1e10
mov dword [eax], 0x63
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x109c
ret
mov ebx, dword [esp + 0x10b0]
mov dword [ebp], esi
test ebx, ebx
je 0x4c1491
mov dword [ebx], esi
mov eax, dword [esp + 0x10b8]
test eax, eax
jne 0x4c14a4
lea esi, [eax + 0x10]
jmp 0x4c1de3
mov dword [eax], esi
mov dword [esp + 0x30], 0x4d3360
mov dword [esp + 0x34], 0x4d3460
mov dword [esp + 0x38], 0x4d3560
mov dword [esp + 0x3c], 0x4d36a0
test edi, 0xd8038580
je 0x4c14d8
mov esi, 0x11
jmp 0x4c1dc2
movzx eax, word [edx]
mov ebx, eax
mov dword [esp + 0x28], ebx
cmp eax, 0x28
jne 0x4c179b
lea eax, [edx + 4]
nop dword [eax]
cmp word [edx + esi*2 + 2], 0x2a
jne 0x4c1797
mov ecx, str.UTF16_
mov ebx, 6
mov ebp, eax
mov dword [esp + 0x10], ecx
nop dword [eax]
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c153d
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1510
add esi, 8
add eax, 0x10
or edi, 0x800
jmp 0x4c1782
mov ecx, str.UCP_
mov ebx, 4
mov ebp, eax
mov dword [esp + 0x10], ecx
nop dword [eax]
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c157d
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1550
add esi, 6
add eax, 0xc
or edi, 0x20000000
jmp 0x4c1782
mov ecx, str.NO_START_OPT_
mov ebx, 0xd
mov ebp, eax
mov dword [esp + 0x10], ecx
nop dword [eax]
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c15bd
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1590
add esi, 0xf
add eax, 0x1e
or edi, 0x4000000
jmp 0x4c1782
mov ecx, 0x4f1ea8
mov ebx, 3
mov ebp, eax
mov dword [esp + 0x10], ecx
nop dword [eax]
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c1602
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c15d0
add esi, 5
add eax, 0xa
mov ecx, 0x100000
and edi, 0xff8fffff
jmp 0x4c1780
mov ecx, 0x4f1eac
mov ebx, 3
mov ebp, eax
mov dword [esp + 0x10], ecx
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c1644
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1612
add esi, 5
add eax, 0xa
mov ecx, 0x200000
and edi, 0xff8fffff
jmp 0x4c1780
mov ecx, str.CRLF_
mov ebx, 5
mov ebp, eax
mov dword [esp + 0x10], ecx
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c1686
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1654
add esi, 7
add eax, 0xe
mov ecx, 0x300000
and edi, 0xff8fffff
jmp 0x4c1780
mov ecx, str.ANY_
mov ebx, 4
mov ebp, eax
mov dword [esp + 0x10], ecx
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c16c8
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1696
add esi, 6
add eax, 0xc
mov ecx, 0x400000
and edi, 0xff8fffff
jmp 0x4c1780
mov ecx, str.ANYCRLF_
mov ebx, 8
mov ebp, eax
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c170f
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c16e0
add esi, 0xa
add eax, 0x14
mov ecx, section..rsrc
and edi, 0xff8fffff
jmp 0x4c1780
mov ecx, str.BSR_ANYCRLF_
mov ebx, 0xc
mov ebp, eax
mov dword [esp + 0x10], ecx
nop
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c1743
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1720
mov ecx, 0x800000
jmp 0x4c1774
mov ecx, str.BSR_UNICODE_
mov ebx, 0xc
mov ebp, eax
mov dword [esp + 0x10], ecx
movzx edx, word [ebp]
lea ebp, [ebp + 2]
movzx ecx, byte [ecx]
dec ebx
inc dword [esp + 0x10]
cmp dx, cx
jne 0x4c1793
mov ecx, dword [esp + 0x10]
test ebx, ebx
jne 0x4c1753
mov ecx, 0x1000000
add esi, 0xe
add eax, 0x1c
and edi, 0xfe7fffff
or edi, ecx
mov edx, dword [esp + 0x2c]
cmp word [edx + esi*2], 0x28
je 0x4c14f0
jmp 0x4c1797
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, edi
and eax, 0x1800000
cmp eax, 0x1800000
je 0x4c1dbd
mov eax, edi
and eax, 0x700000
cmp eax, 0x300000
ja 0x4c183d
je 0x4c1805
test eax, eax
je 0x4c1805
cmp eax, 0x100000
je 0x4c17e0
cmp eax, 0x200000
jne 0x4c1dbd
mov eax, 0xa
jmp 0x4c17e5
mov eax, 0xd
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
mov word [esp + 0x98], ax
jmp 0x4c1867
mov eax, 0xd0a
mov dword [esp + 0x90], 0
mov ecx, eax
mov dword [esp + 0x94], 2
sar eax, 8
movzx eax, al
mov word [esp + 0x98], ax
movzx eax, cl
mov word [esp + 0x9a], ax
jmp 0x4c1867
cmp eax, 0x400000
je 0x4c185c
cmp eax, section..rsrc
jne 0x4c1dbd
mov dword [esp + 0x90], 2
jmp 0x4c1867
mov dword [esp + 0x90], 1
lea eax, [esp + 0xa8]
mov dword [esp + 0x70], 0
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov eax, edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0x800
mov dword [esp + 0x48], edx
test bx, bx
je 0x4c18d1
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x4c18c7
lea eax, [edx + ecx*2]
mov dword [esp + 0x84], 0
mov dword [esp + 0x4c], eax
mov ecx, edi
lea eax, [edx + esi*2]
mov dword [esp + 0x78], 0
mov dword [esp + 0x20], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, 0x7d
mov word [esp + 0xa8], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x80], edi
push eax
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x8c], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x60], 0
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004c0c50
mov esi, dword [esp + 0x50]
add esp, 0x2c
test esi, esi
jne 0x4c1dc2
mov ebp, dword [esp + 0x18]
cmp ebp, 0x10000
jle 0x4c1980
mov esi, 0x14
jmp 0x4c1dc2
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x5c]
add eax, ebp
lea esi, [eax*2 + 0x28]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c19aa
lea esi, [eax + 0x15]
jmp 0x4c1dc2
mov eax, dword [esp + 0x7c]
lea edx, [ebx + 0x28]
mov cx, word [esp + 0x60]
mov dword [ebx + 8], eax
movzx eax, word [esp + 0x80]
mov word [ebx + 0xc], ax
xor eax, eax
mov word [ebx + 0xe], ax
mov dword [ebx + 0x14], eax
mov eax, 0x14
mov word [ebx + 0x18], ax
mov ax, word [esp + 0x5c]
mov word [ebx + 0x1c], ax
mov word [ebx + 0x1a], cx
mov dword [ebx + 4], esi
movzx esi, ax
xor eax, eax
mov word [ebx + 0x1e], ax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
movzx ecx, cx
imul ecx, esi
mov dword [esp + 0x54], eax
lea edi, [edx + ecx*2]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, 0x7d
push 0
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x14]
mov dword [ebx], 0x50435245
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x54], 0
mov word [edi], ax
lea eax, [esp + 0x34]
push eax
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x24]
push 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], edi
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
mov dword [esp + 0x34], edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004c0c50
movzx eax, word [esp + 0x94]
or ecx, 0xffffffff
mov esi, dword [esp + 0x50]
add esp, 0x2c
mov word [ebx + 0x10], ax
movzx eax, word [esp + 0x70]
mov word [ebx + 0x12], ax
mov eax, dword [esp + 0x80]
or eax, 2
cmp dword [esp + 0x88], 0
mov word [ebx + 0xc], ax
mov eax, dword [esp + 0x1c]
cmovne eax, ecx
mov dword [esp + 0xa4], eax
test esi, esi
jne 0x4c1afd
mov eax, dword [esp + 0x14]
mov ecx, 0x16
cmp word [eax], si
cmovne esi, ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [eax], cx
sub eax, edi
add eax, 2
mov ecx, 0x17
sar eax, 1
cmp eax, ebp
mov eax, dword [esp + 0x54]
cmovg esi, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], esi
cmp eax, ecx
jbe 0x4c1b8d
xor edx, edx
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
jne 0x4c1b8d
cmp eax, ecx
jbe 0x4c1b8d
sub eax, 2
mov dword [esp + 0x54], eax
movzx eax, word [eax]
movzx ebp, word [edi + eax*2]
lea eax, [edi + eax*2]
mov dword [esp + 0x20], eax
cmp ebp, dword [esp + 0x1c]
je 0x4c1b6d
push ebp
mov ecx, edi
call fcn.004bac40
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x1c], ebp
test edx, edx
je 0x4c1b84
mov ecx, edx
sub ecx, edi
sar ecx, 1
mov word [eax], cx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
jmp 0x4c1b35
mov esi, 0x35
mov dword [esp + 0x10], esi
cmp dword [esp + 0x64], 0x800
jle 0x4c1ba1
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
jne 0x4c1bb9
mov ax, word [ebx + 0x12]
mov ecx, 0xf
cmp ax, word [ebx + 0x10]
cmova esi, ecx
mov dword [esp + 0x10], esi
cmp dword [esp + 0x8c], 0
je 0x4c1c35
push 0xffffffffffffffff
mov ecx, edi
call fcn.004bac40
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4c1c35
cmp word [ebp + 2], 0
jne 0x4c1c1a
movzx eax, word [ebp - 2]
mov ecx, ebp
lea edi, [eax*2]
xor eax, eax
movzx esi, word [edi + ebp - 4]
mov word [edi + ebp - 4], ax
lea eax, [esp + 0x30]
mov edx, dword [ebx + 8]
push eax
shr edx, 0xb
push 1
and edx, 1
call fcn.004ba900
add esp, 8
mov word [edi + ebp - 4], si
test eax, eax
js 0x4c1c48
mov word [ebp + 2], ax
push 0xffffffffffffffff
lea ecx, [ebp + 4]
call fcn.004bac40
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4c1bd5
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x4c1c71
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x4c1dc2
cmp eax, 0xfffffffe
jne 0x4c1c5f
push ebx
lea esi, [eax + 0x26]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x4c1dc2
cmp eax, 0xfffffffc
mov esi, 0x19
mov ecx, 0x46
cmove esi, ecx
jmp 0x4c1c31
mov eax, dword [ebx + 8]
mov esi, 0x80
mov dword [esp + 0x20], eax
test al, 0x10
jne 0x4c1d3a
mov ebp, dword [esp + 0x74]
xor edx, edx
push ebp
mov ecx, edi
call fcn.004c1010
add esp, 4
test eax, eax
je 0x4c1ca9
mov eax, dword [esp + 0x20]
or eax, 0x10
mov dword [ebx + 8], eax
jmp 0x4c1d3a
mov ecx, dword [esp + 0x28]
test ecx, ecx
jns 0x4c1cdc
xor edx, edx
mov ecx, edi
call fcn.004c12b0
mov ecx, eax
test ecx, ecx
jns 0x4c1cdc
push ebp
xor edx, edx
mov ecx, edi
call fcn.004c1150
add esp, 4
test eax, eax
je 0x4c1d3a
mov eax, 0x100
or word [ebx + 0xc], ax
jmp 0x4c1d3a
mov word [ebx + 0x14], cx
test ecx, 0x10000000
je 0x4c1d35
cmp cx, si
jae 0x4c1cfd
mov edx, dword [esp + 0x34]
movzx eax, cx
movzx eax, byte [eax + edx]
cmp ax, cx
jmp 0x4c1d2e
movzx ecx, cx
mov eax, ecx
shr eax, 7
movzx eax, byte [eax + 0x4e0180]
shl eax, 7
and ecx, 0x8000007f
jns 0x4c1d1c
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x4d37a0]
cmp dword [eax*8 + 0x4df0a4], 0
je 0x4c1d35
or word [ebx + 0xc], 0x20
or word [ebx + 0xc], 0x10
mov ecx, dword [esp + 0xa4]
test ecx, ecx
js 0x4c1db0
test byte [ebx + 8], 0x10
je 0x4c1d53
test ecx, 0x20000000
je 0x4c1db0
mov word [ebx + 0x16], cx
test ecx, 0x10000000
je 0x4c1dab
cmp cx, si
jae 0x4c1d74
mov edx, dword [esp + 0x34]
movzx eax, cx
movzx eax, byte [eax + edx]
cmp ax, cx
jmp 0x4c1da5
movzx ecx, cx
mov eax, ecx
shr eax, 7
movzx eax, byte [eax + 0x4e0180]
shl eax, 7
and ecx, 0x8000007f
jns 0x4c1d93
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x4d37a0]
cmp dword [eax*8 + 0x4df0a4], 0
je 0x4c1dab
or word [ebx + 0xc], si
or word [ebx + 0xc], 0x40
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x109c
ret
mov esi, 0x38
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10b8]
sub eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10b0]
mov ebp, dword [esp + 0x10b4]
sar eax, 1
mov dword [ecx], eax
mov edx, esi
mov ecx, str.no_error
test edx, edx
jle 0x4c1e07
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1df0
cmp byte [ecx], al
je 0x4c1e02
dec edx
test edx, edx
jg 0x4c1df0
jmp 0x4c1e07
mov ecx, str.Error_text_not_found__please_report_
mov dword [ebp], ecx
test ebx, ebx
je 0x4c1e10
mov dword [ebx], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x109c
ret