Function at 0x42adb0
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 0x42add2
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 0x42adf4
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x3c]
jl 0x42ae04
jmp 0x42b5d1
call fcn.004debb0
mov dword [ebp - 0x24], eax
call fcn.004deba0
mov dword [ebp - 0x74], eax
call fcn.004debd0
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 0x42ae33
jmp 0x42b5d1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0xc]
call fcn.004c6f30
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42ae53
jmp 0x42b5d1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004d8630
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 0x42ae77
cmp dword [ebp - 0x44], 1
jge 0x42ae7c
jmp 0x42b5d1
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 0x42aeae
jmp 0x42b5d1
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x40], 1
jge 0x42aebf
jmp 0x42b5d1
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 0x42aef0
jmp 0x42b5d1
cmp dword [ebp - 0x40], 1
jge 0x42aefb
jmp 0x42b5d1
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 0x42b06b
fld1
fstp qword [ebp - 0x68]
sub esp, 8
fld qword [ebp - 0x68]
fstp qword [esp]
call fcn.0041e054
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 [0x55f078]
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 [0x55f078]
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.0042b5e0
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.00485080
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x42b208
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x64
jle 0x42b215
mov dword [ebp - 0x28], 0x64
cmp dword [ebp - 0x28], 0
jne 0x42b220
jmp 0x42b5d1
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 0x42b252
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 0x42b5d1
cmp dword [ebp - 0x94], 0
jl 0x42b5cc
cmp dword [ebp - 0x94], 0x12c0
jge 0x42b5cc
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 0x42b5cc
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 0x42b2ea
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 0x42b335
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0x80]
test edx, edx
jne 0x42b326
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xa8]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0xa4], ecx
jmp 0x42b335
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 0x42b5cc
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 4]
jge 0x42b5cc
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0x5c]
jl 0x42b5cc
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x4c]
jge 0x42b5cc
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 0x42b494
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 0x42b45f
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.004dc940
jmp 0x42b48f
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.004dccb0
jmp 0x42b5cc
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.004db220
jmp 0x42b243
mov esp, ebp
pop ebp
ret 8