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

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x118], edi
mov esi, dword [edi + 0x140]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x144]
mov ecx, dword [edi + 0x148]
mov edx, dword [edi + 0x14c]
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0x17c]
mov dword [esp + 0xd0], esi
mov dword [esp + 0x104], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xcc], eax
cmp eax, 1
jae 0x481f25
cmp dword [esp + 0x120], 2
jne 0x48361d
nop
mov dword [edi + 0x138], 0
pop edi
pop esi
add esp, 0x114
ret 0x14
test byte [edi + 0x194], 1
je 0x481f44
test edx, edx
je 0x481f44
test esi, esi
js 0x481f44
cmp esi, dword [ecx + 0x18]
sbb eax, eax
and eax, edx
mov dword [esp + 0xb4], eax
mov ecx, dword [edi + 0x154]
mov esi, dword [esp + 0x12c]
mov eax, dword [edi + 0x150]
mov dword [esp + 0xbc], 0
cmp esi, ecx
jg 0x481fde
mov edx, dword [esp + 0x128]
jl 0x481f73
cmp edx, eax
jae 0x481fde
cmp dword [esp + 0x120], 2
je 0x481f0f
sub eax, edx
sbb ecx, esi
test ecx, ecx
jg 0x48361d
jl 0x481f96
cmp eax, 0x3b9aca00
jae 0x48361d
push ecx
push eax
mov eax, dword [esp + 0xa4]
push 0
push dword [eax + 4]
call fcn.00433310
push 0
push 0x3b9aca00
push edx
push eax
call fcn.00433630
add eax, 2
adc edx, 0
and eax, 0xfffffffc
mov dword [esp + 0xbc], eax
test edx, edx
jg 0x48361d
jl 0x481fde
cmp eax, dword [esp + 0x130]
jae 0x48361d
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0xbc]
mov edx, dword [edi + 0x178]
mov ecx, dword [edi + 0x204]
add edx, eax
sub ecx, dword [edi + 0x200]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x130], eax
add edi, 0x14900
mov dword [esp + 0xe4], edx
mov eax, 0x44d72045
imul ecx
mov ecx, edi
mov dword [esp + 0xe0], edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 8]
lea edx, [edx + eax*4]
imul eax, eax, 0x1400
mov dword [esp + 0xd8], edx
sub ecx, eax
lea eax, [esp + 8]
cmp ecx, edi
je 0x482062
mov dword [eax], ecx
lea eax, [eax + 4]
add ecx, 0x1400
cmp ecx, edi
jne 0x482053
cmp dword [esp + 0xcc], 0x10000
jne 0x48208d
cmp dword [esp + 0xac], 0
jne 0x48208d
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xa0], TlsAlloc
jmp 0x4820a1
mov ecx, dword [esp + 0x118]
mov eax, dword [ecx + 0x180]
mov dword [esp + 0xa0], eax
mov al, byte [ecx + 0x158]
cmp al, 9
je 0x4820df
cmp al, 0xc
je 0x4820df
mov eax, edx
mov dword [esp + 0xd4], 0
lea edx, [esp + 8]
sub eax, edx
sar eax, 2
mov dword [esp + 0xc0], eax
mov edx, eax
mov dword [esp + 0xb0], edx
test eax, eax
je 0x482bee
jmp 0x482100
mov dword [esp + 0xc0], 2
mov dword [esp + 0xb0], 2
mov dword [esp + 0xd4], 0
xor edx, edx
mov dword [esp + 0xc8], edx
nop dword [eax]
mov eax, dword [ecx + 0x1f4]
add eax, edx
push 0xc0
push eax
push edi
mov dword [esp + 0x9c], eax
call fcn.004347f0
mov eax, dword [esp + 0xdc]
lea esi, [edi + 0x60]
mov dword [esp + 0xf8], eax
add esp, 0xc
mov eax, dword [esp + 0xac]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xf4], 0
test eax, eax
je 0x482bb0
mov ecx, dword [esp + 0xcc]
mov edx, 0x10000
cmp edx, ecx
sbb edx, edx
inc edx
mov dword [esp + 0xdc], edx
lea edi, [edx + 0x18]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0xe0]
nop word [eax + eax]
sub eax, dword [esp + 0xf4]
mov dword [esp + 0xb8], eax
sub eax, edx
mul ecx
mov ecx, eax
mov eax, dword [esp + 0xa8]
add ecx, eax
adc edx, 0
shrd ecx, edx, 0x10
shr edx, 0x10
add ecx, dword [esp + 0x8c]
mov dword [esp + 0x108], ecx
adc edx, 0
test edx, edx
ja 0x4821e6
jb 0x482229
cmp ecx, 0x518
jbe 0x482229
push 0
push dword [esp + 0xd0]
mov ecx, 0x5000000
sub ecx, eax
mov eax, 0
sbb eax, eax
push eax
push ecx
call fcn.00433590
test edx, edx
ja 0x48221d
jb 0x482213
cmp eax, dword [esp + 0xb8]
jae 0x48221d
and eax, 0xfffffffc
mov dword [esp + 0xb8], eax
mov ecx, 0x518
mov dword [esp + 0x108], ecx
cmp dword [esp + 0x104], 0
jne 0x4824c7
cmp ecx, 0x18
mov dword [esp + 0x100], esi
mov edx, 0x18
mov eax, ecx
cmova eax, edx
cmova edx, ecx
mov dword [esp + 0xf8], edx
lea eax, [esi + eax*4]
cmp esi, eax
je 0x482305
lea ecx, [edi + 0x64]
mov dword [esp + 0x110], ecx
cmp ecx, eax
je 0x4822fc
movss xmm2, dword [0x58ff10]
mov edi, ecx
nop dword [eax]
movss xmm1, dword [edi]
movss xmm0, dword [esi]
andps xmm1, xmm2
mov ecx, dword [esp + 0xb0]
andps xmm0, xmm2
comiss xmm0, xmm1
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc0], ecx
mov ecx, edi
seta dl
test dl, dl
cmove ecx, esi
add edi, 4
mov esi, ecx
cmp edi, eax
jne 0x482280
mov edx, dword [esp + 0xf8]
mov eax, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x100], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x100], eax
mov dword [esp + 0xb0], ecx
jmp 0x482307
mov eax, dword [esp + 0x100]
jmp 0x482307
mov eax, esi
lea edi, [esp + 0x88]
mov dword [esp + 0x108], eax
lea ecx, [eax + 4]
mov dword [esp + 0x88], 0
mov eax, dword [eax]
lea edx, [esi + edx*4]
cmp eax, dword [edi]
mov dword [esp + 0xfc], edi
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x10c], ecx
je 0x4823ab
mov eax, dword [esp + 0x108]
mov esi, dword [esp + 0xfc]
mov al, byte [eax]
cmp al, byte [esi]
lea esi, [edi + 0x60]
jne 0x4823b8
mov eax, dword [esp + 0x108]
mov edi, dword [esp + 0xfc]
mov al, byte [eax + 1]
cmp al, byte [edi + 1]
mov edi, dword [esp + 0xe0]
jne 0x4823b8
mov eax, dword [esp + 0x108]
mov esi, dword [esp + 0xfc]
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
lea esi, [edi + 0x60]
jne 0x4823b8
mov eax, dword [esp + 0x108]
mov edi, dword [esp + 0xfc]
mov al, byte [eax + 3]
cmp al, byte [edi + 3]
mov edi, dword [esp + 0xe0]
jne 0x4823b8
mov dword [esp + 0xf8], 0
jmp 0x4823c4
sbb eax, eax
or eax, 1
mov dword [esp + 0xf8], eax
mov eax, edx
sub eax, ecx
cmp dword [esp + 0xf8], 0
jne 0x4823e3
and eax, 0xfffffffc
push eax
push 0
push ecx
call fcn.00434d70
jmp 0x482a90
add eax, 3
mov dword [esp + 0x110], 0
shr eax, 2
cmp ecx, edx
mov dword [esp + 0xf8], 0
cmova eax, dword [esp + 0x110]
test eax, eax
je 0x48249d
cmp eax, 4
jb 0x48249d
mov esi, dword [esp + 0x100]
cmp ecx, esi
mov edi, dword [esp + 0xe0]
movss xmm0, dword [esi]
movss dword [esp + 0x110], xmm0
lea esi, [edi + 0x60]
ja 0x48244e
lea esi, [eax - 1]
lea esi, [ecx + esi*4]
cmp esi, dword [esp + 0x100]
lea esi, [edi + 0x60]
jae 0x48249d
mov ecx, dword [esp + 0xf8]
and eax, 0xfffffffc
mov dword [esp + 0xe8], eax
nop
add ecx, 4
cmp ecx, eax
jne 0x482460
mov edi, dword [esp + 0x10c]
shl eax, 2
mov ecx, eax
mov eax, dword [esp + 0x110]
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10c]
lea eax, [edi*4]
mov edi, dword [esp + 0xe0]
add ecx, eax
cmp ecx, edx
je 0x482a93
mov edi, dword [esp + 0x100]
nop dword [eax]
mov eax, dword [edi]
mov dword [ecx], eax
add ecx, 4
cmp ecx, edx
jne 0x4824b0
mov edi, dword [esp + 0xe0]
jmp 0x482a93
mov eax, dword [esp + 0xec]
xor ecx, ecx
mov dword [esp + 0x100], ecx
test eax, eax
jns 0x482578
neg eax
mov dword [esp + 0x100], eax
cmp eax, dword [esp + 0x108]
jb 0x482552
lea eax, [esp + 0x84]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xf4]
push eax
mov eax, dword [esp + 0xd8]
push dword [esp + 0xbc]
mov eax, dword [esp + eax*4 + 0x10]
lea eax, [eax + ecx*4]
push eax
call fcn.00480d30
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0
push eax
push dword [esp + 0x118]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.00480dc0
add esp, 0x1c
jmp 0x482b39
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
lea eax, [esp + 0x70]
push esi
push eax
call fcn.00480dc0
mov ecx, dword [esp + 0x110]
add esp, 0x10
mov eax, dword [esp + 0xec]
xor edx, edx
test eax, eax
cmovg edx, eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x10c], edx
test byte [eax + 0x194], 1
je 0x4827f5
cmp dword [esp + 0xb4], 0
mov eax, dword [eax + 0x160]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x118]
mov al, byte [eax + 0x159]
mov byte [esp + 0xf0], al
mov eax, dword [esp + 0x104]
jne 0x482659
mov eax, dword [eax + 0x10]
cmp eax, edx
jbe 0x48263d
sub eax, edx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x108]
sub eax, ecx
cmp eax, dword [esp + 0x10c]
cmova eax, dword [esp + 0x10c]
push eax
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x108]
push dword [eax + 0xc]
push dword [esp + 0x100]
push dword [esp + 0xfc]
push edx
push dword [esp + 0xe8]
push dword [eax + 0x1c]
lea eax, [esi + ecx*4]
push eax
call fcn.00481580
mov ecx, dword [esp + 0x120]
add esp, 0x20
add ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x108]
sub edx, ecx
je 0x482a93
lea ecx, [esi + ecx*4]
lea eax, [ecx - 4]
push eax
push edx
jmp 0x482a8a
mov edi, dword [esp + 0x104]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xe8], eax
mov eax, dword [edi + 0x18]
mov edi, dword [esp + 0xe0]
mov dword [esp + 0xc4], eax
sub eax, dword [esp + 0xe8]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xc4]
cmp edx, eax
jae 0x48269d
mov dword [esp + 0x110], edx
jmp 0x4826d9
mov eax, edx
xor edx, edx
sub eax, dword [esp + 0xe8]
div dword [esp + 0xfc]
mov eax, dword [esp + 0xfc]
add edx, dword [esp + 0xe8]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xc4]
sub eax, edx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x108]
sub eax, ecx
cmp eax, dword [esp + 0xc4]
cmova eax, dword [esp + 0xc4]
push eax
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x108]
push dword [eax + 0xc]
push dword [esp + 0x100]
push dword [esp + 0xfc]
push dword [esp + 0x120]
push dword [esp + 0xe8]
push dword [eax + 0x1c]
lea eax, [esi + ecx*4]
push eax
call fcn.00481580
mov ecx, dword [esp + 0x120]
add esp, 0x20
add ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x108]
sub eax, ecx
mov dword [esp + 0x110], ecx
cmp eax, dword [esp + 0xfc]
cmova eax, dword [esp + 0xfc]
mov dword [esp + 0x10c], eax
test eax, eax
je 0x482a93
mov edi, dword [esp + 0x108]
nop word [eax + eax]
push eax
mov eax, dword [esp + 0x108]
push dword [eax + 0xc]
push dword [esp + 0x100]
push dword [esp + 0xfc]
push dword [esp + 0xf8]
push dword [esp + 0xe8]
push dword [eax + 0x1c]
lea eax, [esi + ecx*4]
push eax
call fcn.00481580
mov ecx, dword [esp + 0x130]
mov eax, edi
add ecx, dword [esp + 0x12c]
add esp, 0x20
sub eax, ecx
mov dword [esp + 0x110], ecx
cmp eax, dword [esp + 0xfc]
cmova eax, dword [esp + 0xfc]
mov dword [esp + 0x10c], eax
test eax, eax
jne 0x482780
mov edi, dword [esp + 0xe0]
jmp 0x482a93
mov eax, dword [eax + 0x194]
mov dword [esp + 0x110], eax
shr eax, 1
test al, 1
mov eax, dword [esp + 0x118]
je 0x482994
mov ecx, dword [eax + 0x168]
mov eax, dword [eax + 0x19c]
imul eax, ecx
sub edx, eax
mov eax, dword [esp + 0x108]
sub eax, dword [esp + 0x100]
dec eax
mov dword [esp + 0x10c], edx
add eax, edx
xor edx, edx
add eax, ecx
div ecx
mov edx, eax
mov eax, dword [esp + 0x110]
shr eax, 3
test al, 1
mov dword [esp + 0xe8], edx
mov eax, dword [esp + 0x118]
jne 0x48290c
mov ecx, dword [eax + 0x198]
cmp edx, ecx
jbe 0x48290c
mov edi, dword [esp + 0x118]
add eax, 0x164
mov dword [esp + 0xf8], eax
sub edx, dword [edi + 0x198]
imul edx, dword [eax]
imul ecx, dword [eax]
push edx
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x108]
mov eax, dword [edx + 0x1c]
add eax, ecx
push eax
push dword [edx + 8]
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xec]
add esp, 0xc
test eax, eax
jns 0x4828cc
mov eax, dword [esp + 0x118]
or dword [eax + 0x194], 8
jmp 0x48290c
mov ecx, dword [esp + 0x118]
cmp eax, dword [esp + 0x110]
jae 0x4828fd
or dword [ecx + 0x194], 8
xor edx, edx
mov ecx, dword [esp + 0xf8]
div dword [ecx]
mov ecx, dword [esp + 0x118]
add dword [ecx + 0x198], eax
jmp 0x48290a
mov eax, dword [esp + 0xe8]
mov dword [ecx + 0x198], eax
mov eax, ecx
mov ecx, dword [eax + 0x198]
imul ecx, dword [eax + 0x168]
mov al, byte [eax + 0x159]
mov edx, dword [esp + 0x10c]
mov byte [esp + 0x78], al
cmp ecx, edx
jbe 0x482988
mov eax, dword [esp + 0x108]
sub ecx, edx
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x100]
sub eax, ecx
cmp eax, dword [esp + 0x110]
cmova eax, dword [esp + 0x110]
push eax
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x108]
push dword [eax + 0xc]
mov eax, dword [esp + 0x120]
push dword [eax + 0x160]
mov eax, dword [esp + 0x110]
push dword [esp + 0x84]
jmp 0x482618
mov ecx, dword [esp + 0x100]
jmp 0x48263d
mov edi, dword [eax + 0x160]
mov al, byte [eax + 0x159]
mov dword [esp + 0x110], edi
mov edi, dword [esp + 0x104]
mov byte [esp + 0x94], al
mov eax, dword [esp + 0x108]
nop dword [eax]
cmp ecx, eax
je 0x482a6a
mov esi, dword [edi + 0x10]
cmp edx, esi
mov dword [esp + 0xfc], esi
mov esi, dword [esp + 0xa4]
jb 0x4829e6
sub edx, dword [esp + 0xfc]
jmp 0x482a50
sub dword [esp + 0xfc], edx
sub eax, ecx
cmp eax, dword [esp + 0xfc]
cmova eax, dword [esp + 0xfc]
push eax
push dword [edi + 0xc]
mov dword [esp + 0x100], eax
lea eax, [esi + ecx*4]
push dword [esp + 0x118]
push dword [esp + 0xa0]
push edx
push dword [esp + 0xe8]
push dword [edi + 0x1c]
push eax
call fcn.00481580
mov ecx, dword [esp + 0x120]
add esp, 0x20
add ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x108]
mov dword [esp + 0x100], ecx
cmp ecx, eax
je 0x482a6a
xor edx, edx
mov edi, dword [edi]
nop
test edi, edi
jne 0x4829c0
mov edi, dword [esp + 0xb4]
test edi, edi
jne 0x4829c0
mov edi, dword [esp + 0xe0]
sub eax, ecx
mov dword [esp + 0x108], eax
je 0x482a93
lea ecx, [esi + ecx*4]
lea eax, [ecx - 4]
push eax
push dword [esp + 0x10c]
push ecx
call fcn.00480d30
add esp, 0xc
mov eax, dword [esp + 0xd4]
sub esp, 8
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + eax*4 + 0x10]
lea eax, [eax + ecx*4]
mov ecx, esp
push dword [esp + 0xd4]
push dword [esp + 0xb4]
mov dword [ecx], eax
lea eax, [eax + edx*4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x128]
add eax, 0x184
push esi
push eax
call dword [esp + 0xb8]
add esp, 0x18
cmp dword [esp + 0x120], 1
jne 0x482b39
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xf4]
add eax, ecx
mov edx, dword [esp + 0x130]
cmp edx, ecx
jbe 0x482b40
cmp edx, eax
ja 0x482b40
mov eax, edx
sub eax, ecx
imul eax, dword [esp + 0xcc]
push 0xc0
add eax, dword [esp + 0xac]
shr eax, 0x10
lea eax, [edi + eax*4]
push eax
push dword [esp + 0x98]
call fcn.004347f0
add esp, 0xc
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0xb8]
add ecx, eax
mov dword [esp + 0xf4], ecx
cmp ecx, dword [esp + 0xe4]
jae 0x482bb0
imul eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xa8]
add ecx, eax
mov eax, ecx
movzx ecx, cx
shr eax, 0x10
add dword [esp + 0xec], eax
mov dword [esp + 0xa8], ecx
lea ecx, [eax + 0x30]
lea eax, [edi + eax*4]
lea ecx, [edi + ecx*4]
sub ecx, eax
push ecx
push eax
push edi
call fcn.004347f0
mov eax, dword [esp + 0xf0]
add esp, 0xc
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xdc]
jmp 0x4821a0
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xc8]
inc eax
mov ecx, dword [esp + 0x118]
add edx, 0xc0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xc8], edx
cmp eax, dword [esp + 0xc0]
jb 0x482110
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xd8]
lea ecx, [esp + 8]
mov eax, edi
sub eax, ecx
sar eax, 2
cmp dword [esp + 0xc0], eax
jbe 0x482c0f
xor esi, esi
xor edx, edx
jmp 0x482c20
lea esi, [esp + 8]
mov eax, edi
lea esi, [esi + edx*4]
sub eax, esi
sar eax, 2
lea edx, [esi + eax*4]
mov dword [esp + 0xf0], edx
cmp esi, edx
je 0x482c98
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x74], 0
nop word [eax + eax]
mov edi, dword [esi]
test ecx, ecx
je 0x482c8a
lea edx, [esp + 0x74]
mov dword [esp + 0x70], 0
mov eax, dword [edx]
lea edx, [esp + 0x70]
cmp eax, dword [edx]
mov edx, dword [esp + 0xf0]
jne 0x482c7f
lea eax, [ecx*4]
push eax
push 0
push edi
call fcn.00434d70
mov edx, dword [esp + 0xfc]
add esp, 0xc
jmp 0x482c83
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xe4]
add esi, 4
cmp esi, edx
jne 0x482c40
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0x118]
mov ecx, dword [edx + 0x174]
test ecx, ecx
je 0x482cd1
cmp dword [esp + 0x120], 1
mov edx, dword [ecx]
sete al
movzx eax, al
push eax
push dword [esp + 0x134]
lea eax, [esp + 0x10]
push edi
push eax
call dword [edx + 4]
mov edx, dword [esp + 0x118]
mov eax, dword [edx + 0x194]
shr eax, 2
test al, 1
je 0x482d4c
mov eax, dword [edx + 0x204]
lea edi, [esp + 8]
mov esi, dword [edx + 0x200]
mov dword [esp + 0xdc], eax
cmp esi, eax
je 0x482d4c
nop dword [eax]
mov eax, dword [edi]
sub esp, 0x10
mov edx, dword [esp + 0x140]
mov ecx, esp
movss xmm0, dword [esi + 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi]
mov dword [ecx], eax
lea eax, [eax + edx*4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
movss dword [esp + 8], xmm0
call fcn.004b9b80
add esi, 0xee0
lea edi, [edi + 4]
cmp esi, dword [esp + 0xdc]
jne 0x482d00
mov edx, dword [esp + 0x118]
mov eax, dword [edx + 0x194]
shr eax, 4
test al, 1
je 0x482d7b
mov eax, dword [esp + 0x130]
mov esi, 0x40
cmp eax, esi
cmova eax, esi
mov dword [esp + 0xf4], eax
test eax, eax
jne 0x482e89
jmp 0x482d86
mov dword [esp + 0xf4], 0
mov eax, dword [edx + 0x204]
mov ecx, dword [edx + 0x200]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xf0], ecx
cmp ecx, eax
je 0x482e89
lea edi, [ecx + 0xa10]
mov dword [esp + 0xd8], edi
mov eax, dword [edx + 0x194]
shr eax, 5
test al, 1
jne 0x482de3
movups xmm0, xmmword [edi + 0x40]
movups xmmword [edi], xmm0
movups xmm0, xmmword [edi + 0x50]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [edi + 0x60]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [edi + 0x70]
movups xmmword [edi + 0x30], xmm0
jmp 0x482e04
lea esi, [edi - 0x510]
mov ecx, 0x104
add edi, 0xfffff6e0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xd8]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x482e62
lea ecx, [edi + 0xb8]
add edx, 0x1b0
mov esi, eax
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [edx + 4]
je 0x482e46
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ecx + 0x50]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x70]
movups xmmword [ecx + 0x30], xmm0
add edx, 0xc
add ecx, 0xb8
sub esi, 1
jne 0x482e20
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x118]
add ecx, 0xee0
add edi, 0xee0
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xd8], edi
cmp ecx, dword [esp + 0xdc]
jne 0x482db5
mov edi, dword [edx + 0x200]
lea eax, [esp + 8]
mov ecx, dword [edx + 0x204]
mov dword [esp + 0xc4], eax
mov dword [esp + 0x110], edi
mov dword [esp + 0x94], ecx
cmp edi, ecx
je 0x4832e7
mov ecx, dword [esp + 0x130]
mov esi, dword [esp + 0x9c]
add esi, 0x15dc0
add edi, 0x3c
mov dword [esp + 0xe4], edi
lea edx, [ecx*4]
mov dword [esp + 0xe8], edx
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + 0x118]
mov eax, dword [eax]
push dword [ecx + 0x1a0]
sub esp, 8
mov ecx, esp
push esi
mov dword [ecx], eax
add eax, edx
mov dword [ecx + 4], eax
lea eax, [edi - 0x1c]
push edi
push eax
call fcn.00480fd0
mov ecx, dword [esp + 0x130]
add esp, 0x18
mov dword [esp + 0x10c], eax
mov edx, dword [ecx + 0x194]
mov ecx, edx
shr ecx, 5
test cl, 1
je 0x482f96
mov ecx, dword [esp + 0x120]
xor eax, eax
push dword [esp + 0x9c]
cmp ecx, 1
sete al
movd xmm0, eax
sete al
movzx eax, al
push eax
push dword [esp + 0xc4]
cvtdq2ps xmm0, xmm0
lea eax, [edi - 0x1c]
push dword [esp + 0x100]
mulss xmm0, dword [edi + 0x8cc]
push ecx
movss dword [esp], xmm0
push eax
push dword [esp + 0x148]
push dword [esp + 0x128]
call fcn.00481090
add esp, 0x20
jmp 0x483161
cmp dword [esp + 0x120], 1
jne 0x482faf
lea ecx, [edi + 0xa14]
mov dword [esp + 0xec], ecx
jmp 0x482fba
mov dword [esp + 0xec], 0x5b0b80
push dword [esp + 0xbc]
shr edx, 6
lea ecx, [edi + 0x9d4]
push dword [esp + 0xf8]
test dl, 1
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0xf0]
push dword [esp + 0xf4]
push ecx
lea edx, [edx + eax]
mov eax, dword [esp + 0x128]
mov dword [esp + 0xec], edx
je 0x483316
mov eax, dword [eax + 0x1a4]
lea ecx, [eax + 0x1000]
push ecx
push eax
push edx
push dword [esp + 0x128]
mov dword [esp + 0xf8], ecx
call dword [0x882330]
mov edx, dword [esp + 0xbc]
lea eax, [edi + 0x9d8]
mov dword [esp + 0x110], eax
add esp, 0x20
mov eax, dword [esp + 0xec]
add eax, 4
lea edi, [edx + 0x1a358]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xe8]
lea ecx, [edx + 0x16dc0]
mov dword [esp + 0xa0], edi
and eax, 0xfffffffc
mov edi, dword [edi]
mov dword [esp + 0xa4], ecx
test edi, edi
je 0x48315a
sar eax, 2
lea eax, [ecx + eax*4]
mov dword [esp + 0x90], eax
mov eax, 4
mov dword [esp + 0xc8], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [eax + 0x5b0b70]
push ecx
push dword [esp + 0xe0]
mov ecx, dword [esp + 0xec]
push dword [esp + 0x114]
add ecx, 0x1c
call eax
push dword [esp + 0xbc]
mov edx, dword [esp + 0xdc]
mov eax, edi
push dword [esp + 0xf8]
mov ecx, edx
shl eax, 0xc
push dword [esp + 0x100]
add edx, eax
push dword [esp + 0xfc]
mov dword [esp + 0xe8], edx
push edx
push ecx
push dword [esp + 0xa8]
push dword [esp + 0xc0]
call dword [0x882330]
mov ecx, dword [esp + 0xc0]
lea eax, [edi*4]
add dword [esp + 0x110], eax
add ecx, 4
add dword [esp + 0x118], eax
add esp, 0x20
mov eax, dword [esp + 0xc8]
add eax, 4
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xc8], eax
cmp eax, 0x10
je 0x48315a
mov edi, dword [ecx]
mov ecx, dword [esp + 0xa4]
test edi, edi
jne 0x4830a0
mov edi, dword [esp + 0xe4]
cmp dword [esp + 0x98], 0
jbe 0x48329a
mov ecx, dword [esp + 0x118]
lea edx, [edi + 0xacc]
mov edi, dword [esp + 0x98]
add ecx, 0x1b0
mov dword [esp + 0xec], edx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0xd8], edi
nop
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x48326c
push dword [ecx - 4]
mov eax, dword [esp + 0xc8]
mov edi, dword [esp + 0x134]
sub esp, 8
mov ecx, esp
mov eax, dword [eax]
push esi
mov dword [ecx], eax
lea eax, [eax + edi*4]
mov dword [ecx + 4], eax
lea eax, [edx - 0x5c]
push eax
lea eax, [edx - 0x78]
push eax
call fcn.00480fd0
mov edx, dword [esp + 0x124]
mov ecx, eax
mov eax, dword [esp + 0x10c]
mov edi, 0x5b0b80
push dword [esp + 0xd4]
cmp dword [esp + 0x13c], 1
mov dword [esp + 0x110], eax
mov eax, dword [edx]
cmove edi, dword [esp + 0x108]
mov edx, dword [edx + 4]
push dword [esp + 0x110]
sub edx, eax
mov dword [esp + 0xfc], ecx
add ecx, dword [esp + 0x108]
and edx, 0xfffff000
add edx, eax
mov eax, dword [esp + 0x10c]
push edi
add eax, 0xffffffc0
push eax
mov eax, dword [esp + 0x134]
push edx
push dword [eax]
push ecx
push dword [esp + 0x110]
call dword [0x882330]
mov ecx, dword [esp + 0x144]
add esp, 0x38
mov edx, dword [esp + 0xec]
mov edi, dword [esp + 0xd8]
add edx, 0xb8
add ecx, 0xc
sub edi, 1
mov dword [esp + 0xec], edx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0xd8], edi
jne 0x4831a0
mov edi, dword [esp + 0xe4]
mov ecx, dword [esp + 0x110]
add edi, 0xee0
mov eax, dword [esp + 0xc4]
add ecx, 0xee0
mov edx, dword [esp + 0xe8]
add eax, 4
mov dword [esp + 0xc4], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0xe4], edi
cmp ecx, dword [esp + 0x94]
jne 0x482ef0
mov edx, dword [esp + 0x118]
mov ecx, dword [edx + 0x194]
or ecx, 0x10
cmp dword [esp + 0x120], 2
mov dword [edx + 0x194], ecx
jne 0x483343
nop
mov dword [edx + 0x138], 0
pop edi
pop esi
add esp, 0x114
ret 0x14
mov ecx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1a8]
sub eax, ecx
and eax, 0xfffff000
add eax, ecx
push eax
push ecx
push edx
push dword [esp + 0x128]
call dword [0x882330]
add esp, 0x20
jmp 0x483161
mov eax, dword [esp + 0x130]
imul eax, dword [esp + 0xcc]
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xd0]
add edi, eax
mov eax, edi
mov dword [esp + 0xac], edi
shr eax, 0x10
xor edi, edi
add esi, eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xd0], esi
test eax, eax
je 0x4833ce
test esi, esi
js 0x4833ce
test cl, 1
je 0x4834b0
cmp dword [esp + 0xb4], edi
je 0x48349b
mov ecx, dword [eax + 0x18]
mov esi, dword [eax + 0x14]
mov eax, dword [esp + 0xd0]
cmp eax, ecx
jb 0x4833c7
xor edx, edx
sub eax, esi
sub ecx, esi
div ecx
add edx, esi
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x118]
mov esi, dword [esp + 0xd0]
mov eax, dword [edx + 0x134]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x120], eax
movzx eax, cx
mov dword [edx + 0x140], esi
mov dword [edx + 0x144], eax
mov eax, dword [esp + 0x104]
mov dword [edx + 0x148], eax
test eax, eax
jne 0x48340e
mov dword [edx + 0x14c], eax
mov dword [edx + 0x134], eax
nop
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx + 0xdc]
mov dword [esp + 0x130], eax
nop
test edi, edi
je 0x48358a
shr eax, 1
test al, 1
je 0x483583
mov eax, dword [ecx + 0xd8]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov dword [esp + 0xe0], eax
call fcn.004b8050
cmp dword [esp + 0x5c], 0
jbe 0x483591
mov esi, dword [esp + 0x58]
push 0xec
push 0
lea eax, [esi + 0xc]
mov dword [esi], 1
push eax
call fcn.00434d70
mov eax, dword [esp + 0x12c]
add esp, 0xc
mov ecx, dword [esp + 0xdc]
mov dword [esi + 8], edi
mov edi, 1
mov dword [esi + 4], eax
mov eax, edi
lock xadd dword [ecx], eax
jmp 0x483596
cmp esi, dword [eax + 0x10]
jb 0x4833ce
mov dword [esp + 0x104], edi
jmp 0x4833ce
shr ecx, 1
test cl, 1
je 0x483551
mov ecx, dword [esp + 0x118]
xor edx, edx
mov eax, esi
div dword [ecx + 0x168]
mov edx, dword [esp + 0x118]
mov ecx, eax
sub ecx, dword [edx + 0x19c]
mov esi, dword [edx + 0x198]
mov dword [esp + 0x130], ecx
cmp ecx, esi
jae 0x483539
mov eax, dword [esp + 0x104]
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x118]
mov eax, dword [eax + 0x164]
imul ecx, eax
imul esi, eax
add ecx, edx
sub esi, ecx
add esi, edx
push esi
push ecx
push edx
call fcn.004347f0
mov edx, dword [esp + 0x124]
add esp, 0xc
mov ecx, dword [esp + 0x130]
sub dword [edx + 0x198], ecx
add dword [edx + 0x19c], ecx
jmp 0x4833c7
mov dword [esp + 0x104], edi
mov dword [edx + 0x198], edi
mov dword [edx + 0x19c], eax
jmp 0x4833c7
mov edx, eax
mov eax, dword [edx + 0x10]
cmp eax, esi
ja 0x483570
mov edx, dword [edx]
sub esi, eax
inc edi
test edx, edx
jne 0x483553
mov eax, dword [esp + 0xb4]
mov edx, eax
test eax, eax
jne 0x483553
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x118]
jmp 0x4833ce
mov edi, 1
jmp 0x4835a4
mov edi, 1
jmp 0x4835ab
mov edi, 1
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x130]
cmp dword [esp + 0x104], 0
jne 0x48361d
nop
mov dword [edx + 0x138], 2
test al, 1
je 0x48361d
mov eax, dword [ecx + 0xd8]
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov dword [esp + 0x134], eax
call fcn.004b8050
cmp dword [esp + 0x4c], 1
jb 0x48361d
mov esi, dword [esp + 0x48]
push 0xec
push 0
lea eax, [esi + 0xc]
mov dword [esi], 0
push eax
call fcn.00434d70
mov eax, dword [esp + 0x12c]
add esp, 0xc
mov dword [esi + 4], eax
mov eax, dword [esp + 0x130]
mov dword [esi + 8], 1
lock xadd dword [eax], edi
pop edi
pop esi
add esp, 0x114
ret 0x14