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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x8d55d0
sub esp, 0x50
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
lea edi, [esp + 0x28]
jmp 0x8d4fe2
inc eax
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov ebx, ebp
mov ebp, ecx
mov ecx, edx
mov edx, dword [esp + 0x58]
cmp ebx, eax
jle 0x8d558e
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], edi
mov byte [esp + 0x2a], cl
lea edx, [edx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x4c], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
cmp edx, 2
jge 0x8d5026
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x3c]
jmp 0x8d50c2
mov dword [esp], ebx
lea eax, [0x9e355e]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00402840
movzx eax, byte [esp + 0xc]
test al, al
jne 0x8d5072
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x2c]
jmp 0x8d50c2
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
lea edx, [0x9e34f7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.005138f0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x2b]
test bl, bl
jne 0x8d537a
cmp edx, 1
jge 0x8d50db
xor ebx, ebx
jmp 0x8d5169
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
lea ecx, [0x9e34eb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.00402840
movzx eax, byte [esp + 0xc]
test al, al
jne 0x8d511f
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
xor ebx, ebx
jmp 0x8d5169
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
lea edx, [0x9e34f7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.005138f0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x2c]
test bl, bl
je 0x8d51c9
cmp edx, 2
je 0x8d5176
xor ebx, ebx
jmp 0x8d51cb
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.008d9060
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 1]
mov edx, dword [esp + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx - 1]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.008d42b0
movzx eax, byte [esp + 0xc]
xor eax, 1
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x2c]
jmp 0x8d51cb
xor ebx, ebx
test bl, bl
je 0x8d5249
lea ebx, [ebp + 1]
cmp esi, ebx
jae 0x8d520f
lea eax, [0x95cee0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00448250
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, ebx
lea ebx, [edi + ebp*8 + 4]
mov dword [ebx], edx
mov edx, dword [0x12ad060]
lea ebx, [edi + ebp*8]
test edx, edx
jne 0x8d522c
mov edx, dword [esp + 0x4c]
mov dword [ebx], edx
jmp 0x8d523f
mov edx, edi
mov edi, ebx
mov ebp, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f9a0
mov eax, ebp
mov edi, edx
mov edx, 1
jmp 0x8d4fcf
test cl, cl
je 0x8d52c4
lea ebx, [ebp + 1]
cmp esi, ebx
jae 0x8d528d
lea eax, [0x95cee0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00448250
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ecx, ebx
lea ebx, [edi + ebp*8 + 4]
mov dword [ebx], edx
mov edx, dword [0x12ad060]
lea ebx, [edi + ebp*8]
test edx, edx
jne 0x8d52aa
mov edx, dword [esp + 0x4c]
mov dword [ebx], edx
jmp 0x8d52bd
mov edx, edi
mov edi, ebx
mov ebp, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f9a0
mov eax, ebp
mov edi, edx
xor edx, edx
jmp 0x8d4fcf
cmp edx, 3
jl 0x8d52d8
mov ebx, dword [esp + 0x4c]
cmp byte [ebx + 1], 0x2d
je 0x8d52f8
cmp edx, 2
jmp 0x8d52df
cmp edx, 2
mov ebx, dword [esp + 0x4c]
jl 0x8d5459
cmp byte [ebx], 0x2d
jne 0x8d5459
cmp byte [ebx + 1], 0x2d
je 0x8d5459
lea ebx, [ebp + 1]
cmp esi, ebx
jae 0x8d533d
lea eax, [0x95cee0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00448250
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x30], ebx
lea ebx, [edi + ebp*8 + 4]
mov dword [ebx], edx
mov edx, dword [0x12ad060]
lea ebx, [edi + ebp*8]
test edx, edx
jne 0x8d535c
mov edx, dword [esp + 0x4c]
mov dword [ebx], edx
jmp 0x8d536f
mov edx, edi
mov edi, ebx
mov ebp, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f9a0
mov eax, ebp
mov edi, edx
mov edx, ecx
mov ecx, dword [esp + 0x30]
jmp 0x8d4fcf
cmp edx, 2
jb 0x8d55be
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.008d9060
mov eax, dword [esp + 0x38]
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x4c]
add ecx, ebx
mov ebp, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.008d4220
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x8d53d4
mov edi, dword [esp + 0x44]
jmp 0x8d5414
mov byte [esp + 0x2b], al
lea eax, [0x95cee0]
mov dword [esp], eax
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448250
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 1]
movzx eax, byte [esp + 0x2b]
mov ecx, dword [esp + 0x30]
mov ebx, esi
lea ebp, [edi + ecx*8 + 4]
mov esi, dword [esp + 0x38]
mov dword [ebp], esi
mov ebp, dword [0x12ad060]
lea esi, [edi + ecx*8]
test ebp, ebp
jne 0x8d5434
mov ebp, dword [esp + 0x4c]
mov dword [esi], ebp
jmp 0x8d5447
mov ecx, edi
mov edi, esi
mov ebp, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f9a0
mov eax, ebp
mov edi, ecx
xor eax, 1
mov esi, ebx
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x2c]
jmp 0x8d4fcf
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.008d4db0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x8d555a
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.008da120
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x8d552e
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
jb 0x8d55ca
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
sub ebx, edx
dec ebx
mov ebp, ebx
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0x58]
add eax, ebx
mov dword [esp + 4], eax
sub ecx, edx
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.008d4fa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
add esp, 0x50
ret
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x50
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x50
ret
mov eax, 2
mov ecx, edx
call fcn.0045fa80
call fcn.0045fa80
nop
call fcn.0045e560
jmp fcn.008d4fa0