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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x604163
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
push 0x64d4c8
push str.test.txt
call fcn.005ca5ef
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x1c], eax
mov edi, dword [edx]
cmp edi, edx
je 0x4c4b28
lea esp, [esp]
push 0
push 0x641586
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0045a870
lea edx, [edi + 0x24]
mov dword [esp + 0xa8], 0
cmp dword [edx + 0x14], 0x10
jb 0x4c43ab
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c43b4
xor ecx, ecx
jmp 0x4c43c9
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c43c0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b850
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c4457
push 0xffffffffffffffff
push 0
push dword [edi + 0x84]
lea ecx, [esp + 0x2c]
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c44a0
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c44e9
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c4532
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c460b
lea esp, [esp]
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4c45be
test ebx, ebx
je 0x4c4579
mov dword [esp + 0x14], 0
jmp 0x4c4589
push 1
push 0x65ac90
lea ecx, [esp + 0x28]
call fcn.0045b850
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4c4594
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c459d
xor ecx, ecx
jmp 0x4c45ab
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c45a2
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b850
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4c4602
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c45e3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4c4602
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4c45d7
jmp 0x4c4602
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c4600
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4c4600
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c45f0
mov esi, eax
cmp esi, dword [ecx + 0x2c]
jne 0x4c4560
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c46e0
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4c4693
test ebx, ebx
je 0x4c464e
mov dword [esp + 0x14], 0
jmp 0x4c465e
push 1
push 0x65ac90
lea ecx, [esp + 0x28]
call fcn.0045b850
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4c4669
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4c4672
xor ecx, ecx
jmp 0x4c4680
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4677
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045b850
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4c46d7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c46bc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4c46d7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4c46b0
jmp 0x4c46d7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c46d5
cmp esi, dword [eax + 8]
jne 0x4c46d5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c46c5
mov esi, eax
cmp esi, dword [ecx + 0x34]
jne 0x4c4635
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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.0045ad40
push 1
mov byte [esp + 0xac], 1
push dword [edi + 0x4c]
push ecx
lea ecx, [esp + 0x44]
call fcn.004ca8e0
test eax, eax
jle 0x4c47dc
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.004a0260
mov esi, eax
lea eax, [esp + 0x38]
cmp eax, esi
je 0x4c47c9
cmp dword [esp + 0x4c], 0x10
jb 0x4c476c
push dword [esp + 0x38]
call fcn.004dbb70
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esi + 0x14], 0x10
jae 0x4c479e
mov eax, dword [esi + 0x10]
inc eax
je 0x4c47aa
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.005c9980
add esp, 0xc
jmp 0x4c47aa
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 0x4c47dc
push dword [esp + 0x50]
call fcn.004dbb70
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
movzx eax, word [edi + 0x150]
push eax
push 0x654294
lea eax, [esp + 0x7c]
push 0x21
push eax
call fcn.005cbc5f
add esp, 0x10
cmp byte [esp + 0x74], 0
jne 0x4c4825
xor ecx, ecx
jmp 0x4c4839
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4830
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.0045b850
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4c48a8
push eax
push 0x654294
lea eax, [esp + 0x58]
push 0x21
push eax
call fcn.005cbc5f
add esp, 0x10
cmp byte [esp + 0x50], 0
jne 0x4c4884
xor ecx, ecx
jmp 0x4c4899
lea ecx, [esp + 0x50]
lea edx, [ecx + 1]
jmp 0x4c4890
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4890
sub ecx, edx
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.0045b850
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c4938
push 0xffffffffffffffff
push 0
push dword [edi + 0x90]
lea ecx, [esp + 0x2c]
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c49cf
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x60
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x78
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
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 0x4c4a6c
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x90
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xa8
push 0
push eax
call fcn.0045b790
push 1
push 0x65b204
lea ecx, [esp + 0x28]
call fcn.0045b850
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xc0
push 0
push eax
call fcn.0045b790
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0x65b200
push dword [esp + 0x24]
call fcn.005cbd0b
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x4c4a9f
push dword [esp + 0x38]
call fcn.004dbb70
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 0x4c4ad2
push dword [esp + 0x20]
call fcn.004dbb70
add esp, 4
cmp byte [edi + 0xd], 0
jne 0x4c4b17
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4c4afc
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4c4b17
jmp 0x4c4af0
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4c4af0
jmp 0x4c4b17
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c4b15
cmp edi, dword [eax + 8]
jne 0x4c4b15
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c4b05
mov edi, eax
mov esi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x4c4370
mov eax, dword [esp + 0x1c]
push eax
call fcn.005ca84b
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.005c9914
mov esp, ebp
pop ebp
ret