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

Disassembly:
mov eax, dword [0x8927a4]
mov cl, byte [eax + 0x1aa34]
sub esp, 0xd0
cmp cl, 0xff
je 0x50753e
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x4c]
push ebx
push ebp
push esi
push 0
push ecx
push 0
push 0
push edx
call fcn.0053eff0
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x250]
add esp, 0x14
add eax, 0x24c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov ebx, 1
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x28], ebx
jge 0x5064ea
mov ebp, ebx
jmp 0x506516
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x250]
add eax, 0x24c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ebp, dword [esp + 0x28]
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x258]
add eax, 0x254
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x28]
shl eax, 3
cdq
idiv ebp
mov ebp, dword [edi + 0x58]
push 0x257
add eax, ebp
push eax
push 0
push 0
call fcn.0053bfc0
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x4c]
push 0
push eax
push ecx
push 3
push edx
call fcn.0053eff0
push 0x257
push 0x31f
push 0
push 0
call fcn.0053bfc0
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x250]
add esp, 0x34
add eax, 0x24c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x28], ebx
jge 0x5065b9
mov ebp, ebx
jmp 0x5065e5
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x250]
add eax, 0x24c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ebp, dword [esp + 0x28]
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x260]
add eax, 0x25c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x6c]
push 0
push eax
mov eax, dword [esp + 0x30]
shl eax, 3
cdq
idiv ebp
mov esi, dword [edi + 0x68]
mov ecx, dword [edi + 0x4c]
add eax, esi
push eax
push 5
push ecx
call fcn.0053eff0
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x272d8]
mov edx, dword [eax + 0x280]
add esp, 0x14
add eax, 0x27c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x28], ebx
jge 0x506664
mov ebp, ebx
jmp 0x506690
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x280]
add eax, 0x27c
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ebp, dword [esp + 0x28]
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x288]
add eax, 0x284
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x28]
imul eax, eax, 0x190
cdq
idiv ebp
mov edx, dword [edi + 0x60]
push 0x257
add eax, edx
push eax
push 0
push 0
call fcn.0053bfc0
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x4c]
push 0
push eax
push ecx
push 4
push edx
call fcn.0053eff0
push 0x257
push 0x31f
push 0
push 0
call fcn.0053bfc0
mov eax, dword [edi + 4]
add esp, 0x34
cmp eax, 0xffffffff
jne 0x50688f
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x2932c]
lea eax, [esp + 0x28]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0x28], 6
jne 0x506750
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
mov edx, dword [edi + 0x4c]
push 0
push eax
push ecx
push 0x25
push edx
jmp 0x5068a4
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x506760
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + ebp*8 + 0x1a988]
lea eax, [esp + 0x28]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x28]
test eax, eax
je 0x506878
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + ebp*8 + 0x1a988]
lea eax, [esp + 0xcc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xcc], 0xff
mov ecx, dword [0x8927a4]
jne 0x506821
mov edx, dword [ecx + ebp*8 + 0x1a990]
lea eax, [esp + 0x3c]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
mov esi, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [0x8927a4]
add ecx, esi
push ecx
mov ecx, dword [eax + 0x29450]
xor edx, edx
cmp ebp, ecx
mov ecx, dword [esp + 0x48]
sete dl
lea edx, [edx + ecx*2 - 2]
push edx
push 0x1b5a
call fcn.0053eff0
add esp, 0x14
inc ebp
add esi, 0x23
mov dword [esp + 0x1c], esi
jmp 0x506878
mov edx, dword [ecx + ebp*8 + 0x1a988]
lea eax, [esp + 0xc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
mov esi, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [0x8927a4]
add ecx, esi
push ecx
mov ecx, dword [eax + 0x29450]
xor edx, edx
cmp ebp, ecx
mov ecx, dword [esp + 0x18]
sete dl
lea edx, [edx + ecx*2 - 2]
push edx
push 0x1b59
call fcn.0053eff0
add esp, 0x14
mov ecx, dword [esp + 0x1c]
inc ebp
add ecx, 0x23
cmp ebp, 6
mov dword [esp + 0x1c], ecx
jl 0x506760
jmp 0x5068ac
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
push 0
push ecx
push edx
push eax
mov eax, dword [edi + 0x4c]
push eax
call fcn.0053eff0
add esp, 0x14
mov ecx, dword [0x8927a4]
mov eax, dword [ecx + 0x272d8]
add eax, 0x29c
mov eax, dword [eax + 4]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov al, byte [esp + 0x20]
test al, al
je 0x5069c9
mov ecx, dword [0x8927a4]
mov eax, dword [ecx + 0x272d8]
add eax, 0x2e4
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x5069c9
mov ecx, dword [0x8927a4]
mov eax, dword [ecx + 0x272d8]
add eax, 0x2e4
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
add ecx, 0x13
mov eax, 0x51eb851f
imul ecx
sar edx, 6
push 0
mov ecx, edx
push 0xe
shr ecx, 0x1f
push 0x2a3
lea edx, [edx + ecx + 0xed]
push edx
push 0x32
call fcn.0053eff0
mov eax, dword [0x8927a4]
mov eax, dword [eax + 0x272d8]
mov edx, dword [eax + 0x2e8]
add esp, 0x14
add eax, 0x2e4
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
add ecx, 0x13
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov ecx, 0xa
idiv ecx
push 0
push 0xe
push 0x2da
add edx, 0xed
push edx
push 0x32
call fcn.0053eff0
add esp, 0x14
mov eax, dword [edi + 0x38]
test eax, eax
lea edx, [esp + 0x4c]
jge 0x506a26
neg eax
push eax
push 0x5910d0
push edx
call fcn.0055e68c
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5069f0
mov ecx, dword [edi + 0xb0]
sub eax, edx
mov edx, dword [edi + 0xac]
imul eax, eax, 0xd
push 0
push ecx
mov ecx, dword [edi + 0x50]
sub edx, eax
mov eax, dword [edi + 0xb4]
sub edx, 0xf
push edx
push eax
push ecx
call fcn.0053eff0
add esp, 0x14
jmp 0x506a35
push eax
push 0x5910d0
push edx
call fcn.0055e68c
add esp, 0xc
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x506a40
sub eax, edx
mov edx, eax
lea eax, [esp + 0x4c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x506a52
push 0xd
push edx
mov edx, dword [edi + 0xa8]
sub eax, esi
imul eax, eax, 0xd
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edi + 0x50]
push edx
mov edx, dword [edi + 0xb0]
push ecx
mov ecx, dword [edi + 0xac]
push edx
sub ecx, eax
push ecx
call fcn.0053f0b0
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x80a68]
add esp, 0x1c
test ecx, ecx
jne 0x506da5
cmp byte [edi], 0
je 0x506d8d
mov eax, dword [eax + 0x29324]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x26350]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0xc]
dec eax
cdq
idiv dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x3c], edx
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x29324]
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
dec ecx
jns 0x506b12
xor ebp, ebp
jmp 0x506b26
mov ecx, dword [0x8927a4]
add ecx, 0x29320
call fcn.004086e0
mov ebp, eax
dec ebp
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x26350]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], ebx
jge 0x506b4d
mov ecx, ebx
jmp 0x506b60
mov ecx, dword [0x8927a4]
add ecx, 0x2634c
call fcn.004086e0
mov ecx, eax
mov eax, ebp
cdq
idiv ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x29324]
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [esp + 0xc]
dec edx
jns 0x506b97
mov dword [esp + 0x1c], 0
jmp 0x506bad
mov ecx, dword [0x8927a4]
add ecx, 0x29320
call fcn.004086e0
dec eax
mov dword [esp + 0x1c], eax
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x26350]
lea eax, [esp + 0xc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], ebx
jge 0x506bd7
mov dword [esp + 0x20], ebx
jmp 0x506bec
mov ecx, dword [0x8927a4]
add ecx, 0x2634c
call fcn.004086e0
mov dword [esp + 0x20], eax
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x26350]
lea eax, [esp + 0xc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], ebx
jge 0x506c14
mov ebp, ebx
jmp 0x506c27
mov ecx, dword [0x8927a4]
add ecx, 0x2634c
call fcn.004086e0
mov ebp, eax
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x26350]
lea eax, [esp + 0xc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x1e
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x20], 4
mov eax, edx
cdq
idiv ebp
mov ebp, 0x39
mov ecx, eax
mov eax, dword [esp + 0x38]
imul eax, eax, 0x1e
cdq
idiv dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
sub ebp, ecx
mov edi, edi
push ebp
call fcn.0053bec0
fmul dword [0x598ddc]
push ebp
fstp dword [esp + 0x40]
call fcn.0053bee0
fmul dword [0x598dd8]
mov ecx, dword [esp + 0x24]
add esp, 8
and ecx, 0x80000007
fstp dword [esp + 0x24]
jns 0x506cb4
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [0x8927a4]
lea eax, [edx + ecx*8 + 0x26f74]
mov edx, dword [eax + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
fld dword [esp + 0x24]
fadd dword [0x598dd4]
push 0
call fcn.00561a5c
fld dword [esp + 0x3c]
fadd dword [0x598dd0]
push eax
call fcn.00561a5c
push eax
mov eax, dword [esp + 0x18]
add eax, 6
push eax
push 0x1b58
call fcn.0053eff0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add esp, 0x14
inc edx
add ebp, 0x1e
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
jne 0x506c80
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x2932c]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], 0xffffffff
je 0x506f53
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x2932c]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push 0
push 0x204
push 0xf1
add ecx, 0x15
push ecx
push 0x1b58
jmp 0x506f4b
push 0
push 0x212
push 0xf4
push 0x37
push 0x1b58
jmp 0x506f4b
mov eax, dword [eax + 0x29324]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
dec ecx
jns 0x506dc8
xor ebp, ebp
jmp 0x506dea
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x29324]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ebp, dword [esp + 0xc]
dec ebp
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x26350]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], ebx
jge 0x506e11
mov ecx, ebx
jmp 0x506e32
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x26350]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
mov eax, ebp
cdq
idiv ecx
mov edx, dword [0x8927a4]
push 0
push 0x20f
push 0x209
mov esi, eax
mov eax, dword [edx + 0x29334]
add eax, 0x15
push eax
push 0x1c20
call fcn.0053eff0
add esp, 0x14
inc esi
mov dword [esp + 0x1c], esi
mov ebp, 0x235
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
and ecx, 0x80000007
jns 0x506e81
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [0x8927a4]
lea eax, [edx + ecx*8 + 0x26f74]
mov edx, dword [eax + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0xc]
push 0
push 0x20f
push ebp
add eax, 0x15
push eax
push 0x1c20
call fcn.0053eff0
mov edx, dword [esp + 0x30]
add esp, 0x14
inc edx
add ebp, 0x17
cmp ebp, 0x27a
mov dword [esp + 0x1c], edx
jl 0x506e70
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x2932c]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], 0xffffffff
je 0x506f38
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x2932c]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push 0
push 0x20f
push 0x21f
add ecx, 6
push ecx
push 0x1c20
call fcn.0053eff0
add esp, 0x14
push 0
push 0x20e
push 0x21f
push 0x39
push 0x1c20
call fcn.0053eff0
add esp, 0x14
mov al, byte [edi + 1]
test al, al
je 0x506f5f
call fcn.00507700
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x24590]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], 2
jne 0x506f9a
mov edx, dword [edi + 0x78]
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x4c]
push 0
push edx
push eax
push ebx
push ecx
call fcn.0053eff0
add esp, 0x14
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x24590]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], ebx
je 0x506fe5
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x24590]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], 4
jne 0x50716d
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x1aa30]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [0x8927a4]
mov eax, dword [esp + 0xc]
mov cl, byte [eax + edx + 0x265da]
mov edx, dword [edi + 0x7c]
mov eax, dword [edi + 0x4c]
push 0
test cl, cl
mov ecx, dword [edi + 0x80]
push ecx
push edx
jne 0x50702b
push 2
jmp 0x50702d
push 0x2a
push eax
call fcn.0053eff0
mov ecx, dword [0x8927a4]
mov eax, dword [ecx + 0x80a68]
add esp, 0x14
test eax, eax
jne 0x5070e0
push 0
push 0x641a6
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x273
call fcn.0053ef40
add esp, 0x10
push 0xffff
push 0x641a6
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x273
call fcn.0053ee90
add esp, 0x10
push 0
push 0x641a6
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x2ce
call fcn.0053ef40
add esp, 0x10
push 0xffff
push 0x641a6
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x2ce
call fcn.0053ee90
add esp, 0x10
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x57f20]
lea edx, [esp + 0xc]
push edx
push ecx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [edi + 0x88]
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0x94]
mov esi, dword [esp + 0xc]
push 0
push edx
mov edx, dword [edi + 0x50]
push eax
add ecx, esi
push ecx
push edx
call fcn.0053eff0
mov ecx, dword [0x8927a4]
mov edx, dword [ecx + 0x57f28]
add esp, 0x14
lea eax, [esp + 0xc]
push eax
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x8c]
mov edx, dword [edi + 0x94]
mov ebp, dword [esp + 0xc]
push 0
push eax
mov eax, dword [edi + 0x50]
push ecx
add edx, ebp
push edx
push eax
call fcn.0053eff0
add esp, 0x14
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x24590]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
cmp dword [esp + 0xc], 3
jne 0x507507
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x1aa30]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [0x8927a4]
mov edx, dword [esp + 0xc]
mov al, byte [edx + ecx + 0x265da]
mov ecx, dword [edi + 0x7c]
mov edx, dword [edi + 0x4c]
push 0
test al, al
mov eax, dword [edi + 0x80]
push eax
push ecx
jne 0x5071dd
push 2
jmp 0x5071df
push 0x2a
push edx
call fcn.0053eff0
mov eax, dword [0x8927a4]
mov ecx, dword [eax + 0x80a68]
add esp, 0x14
test ecx, ecx
jne 0x507291
push 0xffff
push 0x641a7
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x26f
call fcn.0053ee90
add esp, 0x10
push 0
push 0x641a7
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x26f
call fcn.0053ef40
add esp, 0x10
push 0xffff
push 0x641a7
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x2ca
call fcn.0053ee90
add esp, 0x10
push 0
push 0x641a7
push 0x897640
call fcn.0044dea0
push eax
push 0x213
push 0x2ca
call fcn.0053ef40
add esp, 0x10
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f30]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [0x5f0778]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
cmp eax, ecx
lea ecx, [esp + 0xc]
push ecx
jl 0x50735b
mov edx, dword [0x5f0778]
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0xc]
mov edx, dword [0x8927a4]
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x57f30]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f30]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x50]
push 0x5910c8
push edx
call fcn.0055e68c
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x507352
jmp 0x507399
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f30]
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x50]
push 0x5910c8
push edx
call fcn.0055e68c
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x507392
mov ecx, dword [edi + 0x9c]
push ecx
mov ecx, dword [edi + 0x50]
sub eax, edx
push eax
mov eax, dword [edi + 0x98]
lea edx, [esp + 0x54]
push edx
mov edx, dword [edi + 0x88]
push eax
mov eax, dword [edi + 0x84]
push ecx
push edx
push eax
call fcn.0053f0b0
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f38]
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov edx, dword [0x5f0778]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
cmp eax, ecx
lea ecx, [esp + 0xc]
push ecx
jl 0x507499
mov edx, dword [0x5f0778]
push edx
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov eax, dword [esp + 0xc]
mov edx, dword [0x8927a4]
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x57f38]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.0040adb0
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f38]
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x50]
push 0x5910c8
push edx
call fcn.0055e68c
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x507490
jmp 0x5074d7
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x57f38]
push eax
call fcn.004cee70
mov esi, eax
call fcn.00403230
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x50]
push 0x5910c8
push edx
call fcn.0055e68c
lea eax, [esp + 0x58]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5074d0
mov ecx, dword [edi + 0x9c]
push ecx
mov ecx, dword [edi + 0x50]
sub eax, edx
push eax
mov eax, dword [edi + 0x98]
lea edx, [esp + 0x54]
push edx
mov edx, dword [edi + 0x90]
push eax
mov eax, dword [edi + 0x8c]
push ecx
push edx
push eax
call fcn.0053f0b0
add esp, 0x1c
mov ecx, dword [edi + 0x70]
mov edx, dword [0x8927a4]
mov eax, dword [edx + 0x29344]
push 0
push ecx
mov ecx, dword [edi + 0x4c]
push eax
push 0x32
push ecx
call fcn.0053eff0
push 0x257
push 0x31f
push 0
push 0
call fcn.0053bfc0
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret