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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fe993
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x69a450]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
push 0x646b40
push str.test.txt
call fcn.005c522f
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x1c], eax
mov edi, dword [edx]
cmp edi, edx
je 0x4c21d8
lea esp, [esp]
push 0
push 0x63aafe
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0045a6b0
lea edx, [edi + 0x24]
mov dword [esp + 0xa8], 0
cmp dword [edx + 0x14], 0x10
jb 0x4c1a5b
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c1a64
xor ecx, ecx
jmp 0x4c1a79
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1a70
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b740
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x84]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c1b07
push 0xffffffffffffffff
push 0
push dword [edi + 0x84]
lea ecx, [esp + 0x2c]
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x84]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4c1b50
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x84]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x4c1b99
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x88]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x84]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jbe 0x4c1be2
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0x2c]
mov esi, dword [eax]
cmp esi, eax
je 0x4c1cbb
lea esp, [esp]
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4c1c6e
test ebx, ebx
je 0x4c1c29
mov dword [esp + 0x14], 0
jmp 0x4c1c39
push 1
push 0x653f40
lea ecx, [esp + 0x28]
call fcn.0045b740
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4c1c44
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c1c4d
xor ecx, ecx
jmp 0x4c1c5b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1c52
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4c1cb2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c1c93
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4c1cb2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4c1c87
jmp 0x4c1cb2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c1cb0
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4c1cb0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c1ca0
mov esi, eax
cmp esi, dword [ecx + 0x2c]
jne 0x4c1c10
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x4c1d90
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4c1d43
test ebx, ebx
je 0x4c1cfe
mov dword [esp + 0x14], 0
jmp 0x4c1d0e
push 1
push 0x653f40
lea ecx, [esp + 0x28]
call fcn.0045b740
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4c1d19
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c1d22
xor ecx, ecx
jmp 0x4c1d30
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1d27
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4c1d87
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c1d6c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4c1d87
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4c1d60
jmp 0x4c1d87
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c1d85
cmp esi, dword [eax + 8]
jne 0x4c1d85
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c1d75
mov esi, eax
cmp esi, dword [ecx + 0x34]
jne 0x4c1ce5
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x3c]
mov dword [esp + 0x54], 0xf
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.0045abf0
push 1
mov byte [esp + 0xac], 1
push dword [edi + 0x4c]
push ecx
lea ecx, [esp + 0x44]
call fcn.004c8070
test eax, eax
jle 0x4c1e8c
mov ecx, dword [esp + 0x48]
sub ecx, eax
inc eax
sub ecx, 5
push ecx
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x44]
call fcn.00481870
mov esi, eax
lea eax, [esp + 0x38]
cmp eax, esi
je 0x4c1e79
cmp dword [esp + 0x4c], 0x10
jb 0x4c1e1c
push dword [esp + 0x38]
call fcn.004d6210
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esi + 0x14], 0x10
jae 0x4c1e4e
mov eax, dword [esi + 0x10]
inc eax
je 0x4c1e5a
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.005c4710
add esp, 0xc
jmp 0x4c1e5a
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x64], 0x10
jb 0x4c1e8c
push dword [esp + 0x50]
call fcn.004d6210
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
movzx eax, word [edi + 0x150]
push eax
push 0x64d5ec
lea eax, [esp + 0x7c]
push 0x21
push eax
call fcn.005c6779
add esp, 0x10
cmp byte [esp + 0x74], 0
jne 0x4c1ed5
xor ecx, ecx
jmp 0x4c1ee9
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1ee0
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.0045b740
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4c1f58
push eax
push 0x64d5ec
lea eax, [esp + 0x58]
push 0x21
push eax
call fcn.005c6779
add esp, 0x10
cmp byte [esp + 0x50], 0
jne 0x4c1f34
xor ecx, ecx
jmp 0x4c1f49
lea ecx, [esp + 0x50]
lea edx, [ecx + 1]
jmp 0x4c1f40
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c1f40
sub ecx, edx
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.0045b740
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x90]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c1fe8
push 0xffffffffffffffff
push 0
push dword [edi + 0x90]
lea ecx, [esp + 0x2c]
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x90]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4c207f
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x60
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x78
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov ecx, dword [edi + 0x94]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x90]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x4c211c
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x90
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xa8
push 0
push eax
call fcn.0045b680
push 1
push 0x654408
lea ecx, [esp + 0x28]
call fcn.0045b740
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xc0
push 0
push eax
call fcn.0045b680
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0x654420
push dword [esp + 0x24]
call fcn.005c6825
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x4c214f
push dword [esp + 0x38]
call fcn.004d6210
add esp, 4
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x4c2182
push dword [esp + 0x20]
call fcn.004d6210
add esp, 4
cmp byte [edi + 0xd], 0
jne 0x4c21c7
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c21ac
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4c21c7
jmp 0x4c21a0
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4c21a0
jmp 0x4c21c7
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c21c5
cmp edi, dword [eax + 8]
jne 0x4c21c5
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c21b5
mov edi, eax
mov esi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x4c1a20
mov eax, dword [esp + 0x1c]
push eax
call fcn.005c548b
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret