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

Disassembly:
push 0xffffffffffffffff
push 0x7cb740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 0x328]
test eax, eax
je 0x5ca96e
mov dl, byte [0x870c08]
push ebx
push ebp
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0x88], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x189]
mov byte [esp + 0x188], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.00402410
mov dword [esp + 0x14], 0
jmp 0x5c9f37
mov esi, dword [esp + 0x28]
push 0xfc
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x290], 0
je 0x5c9f62
mov ecx, eax
call fcn.0040b830
mov ebp, eax
jmp 0x5c9f64
xor ebp, ebp
mov eax, dword [esi + 0x328]
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov dword [esp + 0x294], 0xffffffff
call dword [edx + 0x70]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
call fcn.00404e60
mov edi, 0x82faf8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.00401b40
test al, al
je 0x5c9fd5
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov edx, ecx
mov esi, 0x82faf8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00405070
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov dword [esp + 0x294], 1
call fcn.0040c0e0
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x294], 0xffffffff
call fcn.00404e60
push 0x3f530004
push 0x3f1b0004
push 0x3f417ffa
push 0x3f097ffa
mov ecx, ebp
call fcn.0040c600
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push 0x82faf0
push edx
call fcn.007a3155
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp + 0x2c]
mov esi, ecx
push 1
push esi
mov ecx, ebx
mov dword [esp + 0x44], esi
call fcn.00401b40
test al, al
je 0x5ca083
mov edi, dword [ebx + 4]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.00405070
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x188]
push edx
push 0x82e1c4
push eax
call fcn.007a3155
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
push 0
call fcn.00404e60
lea edi, [esp + 0x188]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401b40
test al, al
je 0x5ca0f8
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x188]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00405070
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x294], 2
mov ecx, dword [ecx + 0xec]
call fcn.00403250
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x294], 0xffffffff
call fcn.00404e60
test esi, esi
je 0x5ca154
add esi, 0x88
mov edx, dword [esi]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x4c], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp]
add ecx, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, ebp
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 7
mov dword [esp + 0x14], eax
jl 0x5c9f33
mov dword [esp + 0x14], 0
push 0xfc
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x290], 3
je 0x5ca1c4
mov ecx, eax
call fcn.0040b830
mov ebp, eax
jmp 0x5ca1c6
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov edx, dword [ebp]
mov dword [esp + 0x290], 0xffffffff
mov ecx, dword [eax + 0x328]
push ecx
mov ecx, ebp
call dword [edx + 0x70]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.00404e60
mov edi, 0x82faf8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.00401b40
test al, al
je 0x5ca23d
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov eax, ecx
mov esi, 0x82faf8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
mov dword [esp + 0x294], 4
call fcn.0040c0e0
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x294], 0xffffffff
call fcn.00404e60
push 0x3f538002
push 0x3f4c0000
push 0x3f420008
push 0x3f3a8006
mov ecx, ebp
call fcn.0040c600
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x88]
push eax
push 0x82fae8
push ecx
call fcn.007a3155
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x2c]
mov ebx, ecx
push 1
push ebx
mov ecx, esi
call fcn.00401b40
test al, al
je 0x5ca2e8
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x34], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x188]
push eax
push 0x82e1c4
push ecx
call fcn.007a3155
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
push 0
call fcn.00404e60
lea edi, [esp + 0x188]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401b40
test al, al
je 0x5ca35f
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x188]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x294], 5
mov ecx, dword [eax + 0xec]
call fcn.00403250
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x294], 0xffffffff
call fcn.00404e60
test esi, esi
je 0x5ca3bb
add esi, 0x88
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [ebp]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp]
add ecx, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, ebp
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 7
mov dword [esp + 0x14], eax
jl 0x5ca199
mov dword [esp + 0x14], 0
push 0xfc
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0x290], 6
je 0x5ca42b
mov ecx, eax
call fcn.0040b830
mov ebp, eax
jmp 0x5ca42d
xor ebp, ebp
mov eax, dword [esp + 0x28]
mov edx, dword [ebp]
mov dword [esp + 0x290], 0xffffffff
mov ecx, dword [eax + 0x328]
push ecx
mov ecx, ebp
call dword [edx + 0x70]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.00404e60
mov edi, 0x82faf8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.00401b40
test al, al
je 0x5ca4a4
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov eax, ecx
mov esi, 0x82faf8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
mov dword [esp + 0x294], 7
call fcn.0040c0e0
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x294], 0xffffffff
call fcn.00404e60
push 0x3f528006
push 0x3f320008
push 0x3f40fffc
push 0x3f207ffe
mov ecx, ebp
call fcn.0040c600
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x88]
push eax
push 0x82fae0
push ecx
call fcn.007a3155
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x2c]
mov ebx, ecx
push 1
push ebx
mov ecx, esi
call fcn.00401b40
test al, al
je 0x5ca54f
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x34], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x188]
push eax
push 0x82e1c4
push ecx
call fcn.007a3155
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor ebx, ebx
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x188]
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00404eb0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x294], 8
mov ecx, dword [edx + 0xec]
call fcn.00403250
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x290], 0xffffffff
je 0x5ca5f3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ca5ea
cmp al, 0xff
je 0x5ca5ea
dec al
mov byte [ecx], al
jmp 0x5ca5f3
push ecx
call fcn.007a02e0
add esp, 4
cmp esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x5ca624
add esi, 0x88
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x48], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov edx, dword [ebp]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp]
add ecx, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, ebp
call dword [edx + 0x24]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 7
mov dword [esp + 0x14], eax
jl 0x5ca400
mov eax, 2
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x3c], edx
push 0x100
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x84], eax
test eax, eax
mov dword [esp + 0x290], 9
je 0x5ca6d8
mov ecx, eax
call fcn.004126c0
mov ebp, eax
jmp 0x5ca6da
xor ebp, ebp
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp]
mov dword [esp + 0x290], 0xffffffff
mov edx, dword [ecx + 0x328]
mov ecx, ebp
push edx
call dword [eax + 0x70]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x88]
push eax
push 0x82fac0
push ecx
call fcn.007a3155
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x2c]
mov ebx, ecx
push 1
push ebx
mov ecx, esi
call fcn.00401b40
test al, al
je 0x5ca75b
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x34], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x188]
push eax
push 0x82e1c4
push ecx
call fcn.007a3155
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor esi, esi
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x188]
push ecx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00404eb0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x294], 0xa
mov ecx, dword [edx + 0xec]
call fcn.00403250
mov edi, eax
mov eax, dword [esp + 0x30]
cmp eax, esi
mov dword [esp + 0x290], 0xffffffff
je 0x5ca7ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ca7f6
cmp al, 0xff
je 0x5ca7f6
dec al
mov byte [ecx], al
jmp 0x5ca7ff
push ecx
call fcn.007a02e0
add esp, 4
cmp edi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
je 0x5ca830
add edi, 0x88
mov eax, dword [edi]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x4c], eax
mov edx, dword [ebp]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov edx, dword [ebp]
lea ecx, [eax + eax - 0x14]
mov eax, dword [esp + 0x54]
sub ecx, edi
add ecx, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
add ecx, eax
push ecx
mov ecx, ebp
call dword [edx + 0x24]
mov edx, dword [ebp]
push 0x4900000
mov ecx, ebp
call dword [edx + 0x40]
mov al, byte [esp + 0x13]
mov edi, 0x82b794
mov byte [esp + 0x18], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], esi
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00401b40
test al, al
je 0x5ca8cc
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x82b794
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00405070
xor esi, esi
mov eax, dword [ebp]
push esi
push 1
lea ecx, [esp + 0x20]
push 0xa
push ecx
mov ecx, ebp
mov dword [esp + 0x2a0], 0xb
call dword [eax + 0xa4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x290], 0xffffffff
cmp eax, esi
je 0x5ca91c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5ca913
cmp al, 0xff
je 0x5ca913
dec al
mov byte [ecx], al
jmp 0x5ca91c
push ecx
call fcn.007a02e0
add esp, 4
mov eax, dword [ebp + 0xbc]
mov ecx, 0xffe7d189
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [ebp + 0xd8], ecx
je 0x5ca940
mov dword [eax + 0x2c], ecx
mov esi, dword [esp + 0x3c]
mov edx, dword [ebp]
mov ecx, ebp
mov eax, dword [esi]
push eax
call dword [edx + 0xa0]
mov eax, dword [esp + 0x14]
add esi, 4
inc eax
mov dword [esp + 0x3c], esi
cmp eax, 7
mov dword [esp + 0x14], eax
jl 0x5ca6aa
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27c]
pop esi
mov dword fs:[0], ecx
add esp, 0x284
ret