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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42af52
mov dword [ebp + 0xc], 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x3c], 1
jge 0x42af74
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x3c]
jl 0x42af84
jmp 0x42b751
call fcn.004e23e0
mov dword [ebp - 0x24], eax
call fcn.004e23d0
mov dword [ebp - 0x74], eax
call fcn.004e2400
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xffffffff
jne 0x42afb3
jmp 0x42b751
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xc]
call fcn.004caa50
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42afd3
jmp 0x42b751
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004dbe90
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x10], 1
jl 0x42aff7
cmp dword [ebp - 0x44], 1
jge 0x42affc
jmp 0x42b751
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0xd4]
cmp dword [ecx + 0x3c], 1
jge 0x42b02e
jmp 0x42b751
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x40], 1
jge 0x42b03f
jmp 0x42b751
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ecx + 0x3c]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x44]
cdq
idiv dword [ecx + 0x40]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x8c], 1
jge 0x42b070
jmp 0x42b751
cmp dword [ebp - 0x40], 1
jge 0x42b07b
jmp 0x42b751
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x8c]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x90]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x94]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x98]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x9c]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xa0]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xbc]
mov dword [edx + 0x48], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xc0]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x3c]
neg eax
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x40]
neg eax
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x3c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x40]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x12c
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x20]
neg edx
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x70]
imul ecx, dword [ebp - 0x70]
add eax, ecx
mov dword [ebp - 0xd8], eax
fild dword [ebp - 0xd8]
fstp qword [ebp - 0x68]
fld1
fcomp qword [ebp - 0x68]
fnstsw ax
test ah, 0x41
jne 0x42b1eb
fld1
fstp qword [ebp - 0x68]
sub esp, 8
fld qword [ebp - 0x68]
fstp qword [esp]
call fcn.0041e1b4
add esp, 8
fstp qword [ebp - 0x68]
fild dword [ebp - 0x70]
mov edx, dword [ebp - 0xd4]
fstp qword [edx + 0x58]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xb4]
imul ecx, ecx, 0x64
mov dword [ebp - 0xdc], ecx
fild dword [ebp - 0xdc]
mov edx, dword [ebp - 0xd4]
fmul qword [edx + 0x58]
mov eax, dword [ebp - 0xd4]
fstp qword [eax + 0x58]
mov ecx, dword [ebp - 0xd4]
fld qword [ecx + 0x58]
fdiv qword [0x57c198]
mov edx, dword [ebp - 0xd4]
fstp qword [edx + 0x58]
fild dword [ebp - 0x88]
mov eax, dword [ebp - 0xd4]
fstp qword [eax + 0x60]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xb4]
imul edx, edx, 0x64
mov dword [ebp - 0xe0], edx
fild dword [ebp - 0xe0]
mov eax, dword [ebp - 0xd4]
fmul qword [eax + 0x60]
mov ecx, dword [ebp - 0xd4]
fstp qword [ecx + 0x60]
mov edx, dword [ebp - 0xd4]
fld qword [edx + 0x60]
fdiv qword [0x57c198]
mov eax, dword [ebp - 0xd4]
fstp qword [eax + 0x60]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xb8]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xcc]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0xd4]
call fcn.0042b760
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xb0]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xac]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc4]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0xc8]
mov dword [ebp - 0x54], ecx
push 0
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00488d10
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x42b388
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x64
jle 0x42b395
mov dword [ebp - 0x28], 0x64
cmp dword [ebp - 0x28], 0
jne 0x42b3a0
jmp 0x42b751
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x68]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x94], eax
jmp 0x42b3d2
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x58]
add edx, dword [ebp - 0xc]
cmp dword [ebp - 0x94], edx
jge 0x42b751
cmp dword [ebp - 0x94], 0
jl 0x42b74c
cmp dword [ebp - 0x94], 0x12c0
jge 0x42b74c
mov eax, dword [ebp - 0x94]
shl eax, 5
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x44]
mov eax, dword [eax + edx]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xffffffff
je 0x42b74c
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa4]
cdq
idiv dword [ebp - 0x80]
test edx, edx
jne 0x42b46a
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x80]
imul eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x94]
shl edx, 5
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x44]
cmp dword [ecx + edx + 4], 0
je 0x42b4b5
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x80]
test edx, edx
jne 0x42b4a6
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xa8]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0xa4], ecx
jmp 0x42b4b5
mov edx, dword [ebp - 0xa8]
sub edx, 1
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x94]
shl eax, 5
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + eax + 8]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x94]
shl edx, 5
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx + edx + 0xc]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x50]
jl 0x42b74c
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 4]
jge 0x42b74c
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x5c]
jl 0x42b74c
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x4c]
jge 0x42b74c
mov eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xa0]
sub ecx, eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0x78]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x9c]
sub edx, eax
mov dword [ebp - 0xac], edx
cmp dword [ebp - 8], 1
jg 0x42b614
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0x8c]
mov eax, dword [ebp - 0xd4]
imul edx, dword [eax + 0x3c]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xd4]
imul eax, dword [ecx + 0x40]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x28], 0x64
jne 0x42b5df
push 1
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004e0160
jmp 0x42b60f
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.004e04d0
jmp 0x42b74c
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 8]
imul edx, edx, 0x64
mov ecx, dword [ebp - 0xd4]
mov eax, edx
cdq
idiv dword [ecx + 0x68]
mov dword [ebp - 0xcc], eax
mov edx, 0x64
sub edx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xcc]
imul edx, dword [ebp - 0x28]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x8c]
mov eax, dword [ebp - 0xd4]
imul edx, dword [eax + 0x3c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xd4]
imul eax, dword [ecx + 0x40]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa4]
cdq
idiv dword [ebp - 0x8c]
mov eax, dword [ebp - 0xd4]
imul edx, dword [eax + 0x3c]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xa4]
cdq
idiv dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xd4]
imul eax, dword [ecx + 0x40]
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004dea80
jmp 0x42b3c3
mov esp, ebp
pop ebp
ret 8