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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x615923
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6b64f0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6b64f0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
push 0x65fa28
push str.test.txt
call fcn.005d70e8
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x1c], eax
mov edi, dword [edx]
cmp edi, edx
je 0x4cd1a8
lea esp, [esp]
push 0
push 0x653f66
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0045aca0
lea edx, [edi + 0x24]
mov dword [esp + 0xa8], 0
cmp dword [edx + 0x14], 0x10
jb 0x4cca2b
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4cca34
xor ecx, ecx
jmp 0x4cca49
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cca40
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccad7
push 0xffffffffffffffff
push 0
push dword [edi + 0x84]
lea ecx, [esp + 0x2c]
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccb20
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccb69
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccbb2
mov eax, dword [edi + 0x84]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccc8b
lea esp, [esp]
mov eax, dword [esi + 0x28]
test dword [edi + 0x144], eax
je 0x4ccc3e
test ebx, ebx
je 0x4ccbf9
mov dword [esp + 0x14], 0
jmp 0x4ccc09
push 1
push 0x66e438
lea ecx, [esp + 0x28]
call fcn.0045bc80
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4ccc14
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4ccc1d
xor ecx, ecx
jmp 0x4ccc2b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ccc22
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4ccc82
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4ccc63
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4ccc82
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4ccc57
jmp 0x4ccc82
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4ccc80
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x4ccc80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ccc70
mov esi, eax
cmp esi, dword [ecx + 0x2c]
jne 0x4ccbe0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccd60
mov eax, dword [esi + 0x28]
test dword [edi + 0x148], eax
je 0x4ccd13
test ebx, ebx
je 0x4cccce
mov dword [esp + 0x14], 0
jmp 0x4cccde
push 1
push 0x66e438
lea ecx, [esp + 0x28]
call fcn.0045bc80
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4ccce9
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x4cccf2
xor ecx, ecx
jmp 0x4ccd00
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cccf7
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp byte [esi + 0xd], 0
jne 0x4ccd57
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4ccd3c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4ccd57
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4ccd30
jmp 0x4ccd57
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4ccd55
cmp esi, dword [eax + 8]
jne 0x4ccd55
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4ccd45
mov esi, eax
cmp esi, dword [ecx + 0x34]
jne 0x4cccb5
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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.0045b170
push 1
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x3c]
push dword [edi + 0x4c]
push 0x65f54c
call fcn.0046d1d0
test eax, eax
jle 0x4cce60
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.0046c6e0
mov esi, eax
lea eax, [esp + 0x38]
cmp eax, esi
je 0x4cce4d
cmp dword [esp + 0x4c], 0x10
jb 0x4ccdf0
push dword [esp + 0x38]
call fcn.004e41e0
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esi + 0x14], 0x10
jae 0x4cce22
mov eax, dword [esi + 0x10]
inc eax
je 0x4cce2e
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.005d6840
add esp, 0xc
jmp 0x4cce2e
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 0x4cce60
push dword [esp + 0x50]
call fcn.004e41e0
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
movzx eax, word [edi + 0x150]
push eax
push 0x6673d8
lea eax, [esp + 0x7c]
push 0x21
push eax
call fcn.005d9447
add esp, 0x10
cmp byte [esp + 0x74], 0
jne 0x4ccea9
xor ecx, ecx
jmp 0x4cceb9
lea ecx, [esp + 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cceb0
sub ecx, edx
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
movzx eax, word [edi + 0x152]
cmp eax, 1
jbe 0x4ccf28
push eax
push 0x6673d8
lea eax, [esp + 0x58]
push 0x21
push eax
call fcn.005d9447
add esp, 0x10
cmp byte [esp + 0x50], 0
jne 0x4ccf04
xor ecx, ecx
jmp 0x4ccf19
lea ecx, [esp + 0x50]
lea edx, [ecx + 1]
jmp 0x4ccf10
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ccf10
sub ecx, edx
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.0045bc80
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4ccfb8
push 0xffffffffffffffff
push 0
push dword [edi + 0x90]
lea ecx, [esp + 0x2c]
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x18
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x30
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4cd04f
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x48
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x60
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x78
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
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 0x4cd0ec
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0x90
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xa8
push 0
push eax
call fcn.0045bbc0
push 1
push 0x66e900
lea ecx, [esp + 0x28]
call fcn.0045bc80
mov eax, dword [edi + 0x90]
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
add eax, 0xc0
push 0
push eax
call fcn.0045bbc0
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0x66e918
push dword [esp + 0x24]
call fcn.005d94f3
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x4cd11f
push dword [esp + 0x38]
call fcn.004e41e0
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 0x4cd152
push dword [esp + 0x20]
call fcn.004e41e0
add esp, 4
cmp byte [edi + 0xd], 0
jne 0x4cd197
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
jne 0x4cd17c
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
jne 0x4cd197
jmp 0x4cd170
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x4cd170
jmp 0x4cd197
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4cd195
cmp edi, dword [eax + 8]
jne 0x4cd195
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4cd185
mov edi, eax
mov esi, dword [esp + 0x18]
cmp edi, dword [esi + 4]
jne 0x4cc9f0
mov eax, dword [esp + 0x1c]
push eax
call fcn.005d73da
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.005d67d1
mov esp, ebp
pop ebp
ret