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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61dd53
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6c4490]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
push 0x66cee0
push str.test.txt
call fcn.005e06ff
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x1c], eax
mov edi, dword [edx]
cmp edi, edx
je 0x4d7548
lea esp, [esp]
push 0
push 0x6606ee
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0045bc80
lea edx, [edi + 0x24]
mov dword [esp + 0xa8], 0
cmp dword [edx + 0x14], 0x10
jb 0x4d6dcb
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4d6dd4
xor ecx, ecx
jmp 0x4d6de9
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6de0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045db80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d6e77
push 0xffffffffffffffff
push 0
push dword [edi + 0x84]
lea ecx, [esp + 0x2c]
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d6ec0
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d6f09
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d6f52
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d702b
lea esp, [esp]
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4d6fde
test ebx, ebx
je 0x4d6f99
mov dword [esp + 0x14], 0
jmp 0x4d6fa9
push 1
push 0x67c7b4
lea ecx, [esp + 0x28]
call fcn.0045db80
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4d6fb4
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4d6fbd
xor ecx, ecx
jmp 0x4d6fcb
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6fc2
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045db80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4d7022
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4d7003
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4d7022
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4d6ff7
jmp 0x4d7022
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4d7020
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4d7020
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d7010
mov esi, eax
cmp esi, dword [ecx + 0x2c]
jne 0x4d6f80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d7100
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4d70b3
test ebx, ebx
je 0x4d706e
mov dword [esp + 0x14], 0
jmp 0x4d707e
push 1
push 0x67c7b4
lea ecx, [esp + 0x28]
call fcn.0045db80
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4d7089
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4d7092
xor ecx, ecx
jmp 0x4d70a0
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7097
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045db80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4d70f7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4d70dc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4d70f7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4d70d0
jmp 0x4d70f7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4d70f5
cmp esi, dword [eax + 8]
jne 0x4d70f5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d70e5
mov esi, eax
cmp esi, dword [ecx + 0x34]
jne 0x4d7055
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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.0045c150
push 1
mov byte [esp + 0xac], 1
push dword [edi + 0x4c]
push ecx
lea ecx, [esp + 0x44]
call fcn.004dd3d0
test eax, eax
jle 0x4d71fc
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.004a3190
mov esi, eax
lea eax, [esp + 0x38]
cmp eax, esi
je 0x4d71e9
cmp dword [esp + 0x4c], 0x10
jb 0x4d718c
push dword [esp + 0x38]
call fcn.004ec310
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esi + 0x14], 0x10
jae 0x4d71be
mov eax, dword [esi + 0x10]
inc eax
je 0x4d71ca
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.005dfa80
add esp, 0xc
jmp 0x4d71ca
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 0x4d71fc
push dword [esp + 0x50]
call fcn.004ec310
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
movzx eax, word [edi + 0x150]
push eax
push 0x673cc4
lea eax, [esp + 0x7c]
push 0x21
push eax
call fcn.005e1aff
add esp, 0x10
cmp byte [esp + 0x74], 0
jne 0x4d7245
xor ecx, ecx
jmp 0x4d7259
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7250
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.0045db80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4d72c8
push eax
push 0x673cc4
lea eax, [esp + 0x58]
push 0x21
push eax
call fcn.005e1aff
add esp, 0x10
cmp byte [esp + 0x50], 0
jne 0x4d72a4
xor ecx, ecx
jmp 0x4d72b9
lea ecx, [esp + 0x50]
lea edx, [ecx + 1]
jmp 0x4d72b0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d72b0
sub ecx, edx
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.0045db80
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d7358
push 0xffffffffffffffff
push 0
push dword [edi + 0x90]
lea ecx, [esp + 0x2c]
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d73ef
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x60
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x78
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
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 0x4d748c
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x90
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xa8
push 0
push eax
call fcn.0045dac0
push 1
push 0x67cd34
lea ecx, [esp + 0x28]
call fcn.0045db80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xc0
push 0
push eax
call fcn.0045dac0
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0x67cd68
push dword [esp + 0x24]
call fcn.005e1bab
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x4d74bf
push dword [esp + 0x38]
call fcn.004ec310
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 0x4d74f2
push dword [esp + 0x20]
call fcn.004ec310
add esp, 4
cmp byte [edi + 0xd], 0
jne 0x4d7537
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4d751c
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4d7537
jmp 0x4d7510
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4d7510
jmp 0x4d7537
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4d7535
cmp edi, dword [eax + 8]
jne 0x4d7535
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4d7525
mov edi, eax
mov esi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x4d6d90
mov eax, dword [esp + 0x1c]
push eax
call fcn.005e095b
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.005dfa14
mov esp, ebp
pop ebp
ret