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

Disassembly:
push 0xffffffffffffffff
push 0x5347e8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5801d4]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5801d4]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x100]
mov ebp, dword [esp + 0xfc]
mov esi, dword [esp + 0x104]
mov ebx, ecx
cmp dword [ebx + 0x58], 0
mov dword [esp + 0x24], eax
je 0x487cfc
call fcn.004dc0d5
cmp dword [eax + 0x1dc], 0
je 0x487cfc
test esi, esi
jne 0x486d93
mov edx, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x60]
mov edi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0xa4]
mov edx, dword [edx + 0x114]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], 2
jmp 0x486dc7
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], 0
mov edx, dword [0x589ce0]
imul edx, eax
mov eax, dword [esp + 0x6c]
sub eax, edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 4]
cmp ecx, esi
jle 0x486dea
mov esi, ecx
mov eax, esi
sub eax, ecx
cdq
idiv dword [0x589ccc]
sub esi, edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0xc]
mov eax, esi
mov dword [esp + 0x4c], eax
sub eax, ecx
mov dword [esp + 0x44], edx
cdq
idiv dword [0x589ccc]
xor ecx, ecx
xor esi, esi
add eax, edi
cmp eax, esi
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0xa4]
cmp dword [ecx + 0x9c], esi
je 0x486e39
mov edx, dword [ecx + 0x2ac]
jmp 0x486e58
cmp dword [ecx + 0x78], esi
jne 0x486e52
cmp dword [ecx + 0x84], esi
jne 0x486e52
mov eax, dword [ecx + 0x294]
mov dword [esp + 0x34], eax
jmp 0x486e5c
mov edx, dword [ecx + 0x15c]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0x294]
mov dword [esp + 0x84], eax
mov eax, dword [0x5b35fc]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov edx, 0
sets dl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0xa8], esi
dec edx
and edx, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x80], edx
cmp edi, esi
jne 0x486ef0
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x70]
push eax
push edx
lea eax, [esp + 0xb0]
push eax
lea edx, [esp + 0x70]
push edx
call fcn.0046aaf0
mov ecx, dword [esp + 0x64]
cmp ecx, esi
jle 0x486ef0
mov eax, dword [ebx + 0x134]
cdq
idiv dword [0x589ccc]
add eax, dword [ebx + 0x78]
cmp ecx, eax
jle 0x486ef0
dec ecx
mov dword [esp + 0x64], ecx
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.00483200
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
cmp dword [eax], ecx
jg 0x4873f7
mov edx, dword [esp + 0x3c]
push 2
push ebp
mov dword [esp + 0x28], edx
call dword [0x53d190]
mov eax, dword [0x5826b8]
push eax
push ebp
call dword [0x53d1e8]
mov ecx, dword [0x582670]
push ecx
push ebp
call dword [0x53d1e4]
cmp edi, esi
jne 0x486f83
mov edx, dword [ebx + 0xa4]
cmp dword [edx + 0x84], esi
je 0x486f83
mov eax, dword [0x5826d8]
mov edi, dword [0x53d20c]
push eax
push esi
push esi
call edi
mov ecx, dword [0x5826dc]
push ecx
push esi
push esi
mov dword [esp + 0x68], eax
call edi
mov edx, dword [0x582690]
mov edi, dword [0x53d1f4]
push edx
mov dword [esp + 0x8c], eax
call edi
mov dword [esp + 0x48], eax
mov eax, dword [0x582694]
push eax
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
jge 0x4872e3
mov eax, dword [0x589ccc]
lea ebx, [ebx]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
cmp ecx, esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
jg 0x486fbc
mov dword [esp + 0x74], esi
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea ecx, [esi + eax]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
jge 0x4872ab
push 0
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.00469150
cmp dword [esp + 0x28], 0
jne 0x4870c1
cmp dword [0x5b35d0], 0
je 0x4870c1
cmp edi, dword [esp + 0x64]
jne 0x4870c1
cmp dword [ebx + 0xf4], 0
je 0x4870c1
cmp dword [0x5b35fc], 0
jle 0x487076
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
push 0
push 0
push 0
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x50]
push ecx
push 0
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x94]
push 0
push ebp
mov dword [esp + 0xc0], edx
call dword [0x53d204]
cmp dword [esp + 0x38], 0
jne 0x48709e
mov edx, dword [ebx + 0xa4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + 0x2e0]
shl eax, 5
cmp dword [ecx + eax + 0x14], 0
je 0x48709e
mov eax, 1
jmp 0x4870a0
xor eax, eax
mov edx, dword [esp + 0x80]
push eax
lea eax, [esi + edx]
push eax
push 0
push ebp
mov ecx, 0x5826ec
call fcn.0040d470
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0xa4]
cmp dword [ecx + 0x78], 0
je 0x4870db
push edi
call fcn.00469060
test eax, eax
jne 0x4872ab
mov edx, dword [ebx + 0xa4]
cmp dword [edx + 0x80], 0
je 0x487163
cmp dword [esp + 0x28], 0
jne 0x4870fa
cmp dword [ebx + 0x144], 0
jne 0x487163
mov edi, dword [esp + 0x2c]
push 0xa
lea eax, [esp + 0xc4]
push eax
lea ecx, [edi + 1]
push ecx
call fcn.00518877
lea eax, [esp + 0xcc]
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487120
mov ecx, dword [esp + 0x40]
sub eax, edx
push 0
sar eax, 1
push eax
lea edx, [esp + 0xc8]
push edx
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x28]
or ecx, 4
push ecx
add esi, edx
push esi
push eax
push ebp
call dword [0x53d204]
jmp 0x487182
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
push ecx
push edx
push 0
push 0
push ebp
call dword [0x53d204]
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0
jne 0x4872c6
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 0x84], 0
je 0x4872c6
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 8], 0xa
jle 0x4872c6
mov edx, dword [esp + 0x84]
dec edx
cmp edi, edx
jge 0x4872c6
mov eax, dword [eax + 0x2e0]
shl edi, 5
mov ecx, dword [eax + edi]
add eax, edi
dec ecx
test ecx, ecx
jle 0x4872c6
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4872c6
mov esi, dword [0x53d234]
test eax, eax
jle 0x487200
mov ecx, dword [esp + 0x88]
push ecx
push ebp
call esi
mov edx, dword [esp + 0x1c]
push edx
jmp 0x48720d
mov eax, dword [esp + 0x5c]
push eax
push ebp
call esi
mov ecx, dword [esp + 0x48]
push ecx
push ebp
mov dword [esp + 0x5c], eax
call esi
mov dword [esp + 0x50], eax
mov eax, dword [0x589ccc]
add eax, 0xfffffff7
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [esp + 0x14]
lea eax, [esi + 9]
push eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
push eax
push esi
add eax, 0xfffffff7
push eax
push ebp
call dword [0x53d1dc]
mov edx, dword [esp + 0x78]
push 0
lea edi, [esi + 4]
push edi
add edx, 0xfffffff7
push edx
push ebp
call dword [0x53d210]
mov eax, dword [esp + 0x78]
push edi
push eax
push ebp
call dword [0x53d214]
cmp dword [esp + 0x58], 0
jle 0x487293
mov ecx, dword [esp + 0x78]
push 0
push esi
add ecx, 0xfffffffb
push ecx
push ebp
call dword [0x53d210]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
push edx
add eax, 0xfffffffb
push eax
push ebp
call dword [0x53d214]
mov ecx, dword [esp + 0x54]
mov esi, dword [0x53d234]
push ecx
push ebp
call esi
mov edx, dword [esp + 0x50]
push edx
push ebp
call esi
jmp 0x4872c6
mov ecx, dword [esp + 0x40]
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push eax
push ecx
push 0
push 0
push ebp
call dword [0x53d204]
mov ecx, dword [esp + 0x14]
mov eax, dword [0x589ccc]
inc dword [esp + 0x20]
add ecx, eax
cmp ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
jl 0x486fa0
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x48731e
mov edx, dword [ebx + 0xa4]
cmp dword [edx + 0x84], edi
je 0x48731e
mov eax, dword [esp + 0x5c]
mov esi, dword [0x53d218]
push eax
call esi
mov ecx, dword [esp + 0x88]
push ecx
call esi
mov edx, dword [esp + 0x48]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
push 0
push ebp
call dword [0x53d190]
test edi, edi
jne 0x4873e9
mov ecx, dword [ebx + 0xa4]
cmp dword [ecx + 0xf0], edi
jle 0x4873e9
cmp dword [0x5b35d0], 0
mov edi, dword [esp + 0x3c]
je 0x48735f
cmp dword [ebx + 0xf4], 0
mov dword [esp + 0x1c], 0
jne 0x487367
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x44]
jge 0x4873e9
cmp edi, dword [esp + 0x34]
jge 0x4873e9
mov ecx, dword [ebx + 0xa4]
push edi
call fcn.00469060
test eax, eax
jne 0x4873dc
mov ecx, dword [ebx + 0xa4]
push eax
push edi
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00469150
cmp edi, dword [esp + 0x64]
jne 0x4873ae
cmp dword [esp + 0x1c], 0
je 0x4873dc
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 0xa4]
mov eax, dword [edx + 0x2e0]
shl ecx, 5
cmp dword [ecx + eax + 0x14], 0
je 0x4873dc
mov ecx, dword [esp + 0x80]
lea edx, [esi + ecx]
push edx
push ebp
call fcn.0040d1a0
add esp, 8
add esi, dword [0x589ccc]
inc edi
cmp esi, dword [esp + 0x44]
jl 0x487371
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
xor esi, esi
mov eax, ecx
mov edx, dword [eax + 8]
cmp edx, dword [eax]
jle 0x487cfc
mov ecx, dword [ebx + 0xa4]
mov dword [esp + 0x68], esi
mov dword [esp + 0x50], esi
cmp dword [ecx + 0x78], esi
je 0x487422
mov dword [esp + 0x5c], 1
cmp dword [ecx + 0x7c], esi
jne 0x487426
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x3c], esi
jge 0x4876a5
mov eax, dword [esp + 0x3c]
push 0
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00469150
cmp dword [ebx + 0x108], 0
jne 0x487668
cmp dword [0x5828cc], 0
jne 0x487668
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ecx + 0xec]
imul edx, edx, 0x154
cmp dword [edx + 0x584d74], 0
jg 0x48748c
cmp dword [0x5b35e0], 0
je 0x487668
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x4c]
cdq
idiv dword [0x589ccc]
test eax, eax
jle 0x4874a4
test edx, edx
jne 0x4874a4
dec eax
mov edx, dword [esp + 0x3c]
add eax, edx
lea edx, [esi - 1]
cmp edx, eax
jge 0x4874b3
mov eax, edx
push 0
push eax
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00469150
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jg 0x487668
mov edi, eax
shl edi, 5
lea esp, [esp]
mov eax, dword [ebx + 0xa4]
mov eax, dword [eax + 0x2e0]
mov eax, dword [eax + edi + 0x1c]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x487652
mov eax, dword [ebx + 0xa4]
mov ecx, dword [eax + 0x2e0]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ecx + edi]
mov esi, dword [ecx + edi + 0xc]
add ecx, edi
xor ecx, ecx
add eax, edi
mov eax, dword [eax + 8]
dec edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x94], 0x54c598
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], ecx
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0xf4], ecx
cmp dword [eax + 0xac], ecx
je 0x48757a
lea ecx, [esp + 0x94]
push ecx
push esi
push 0
push edx
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00485280
jmp 0x4875c1
mov eax, dword [eax + 0xec]
imul eax, eax, 0x154
cmp dword [eax + 0x584d74], ecx
jne 0x4875a7
lea ecx, [esp + 0x94]
push ecx
push 0
push edx
mov edx, dword [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00484fa0
jmp 0x4875c3
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x94]
push eax
push esi
push 0
push 0
push edx
push ecx
mov ecx, ebx
call fcn.00484500
mov esi, eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00484390
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add esp, 8
push ecx
mov ecx, dword [ebx + 0xa4]
push eax
push edx
call fcn.004667e0
cmp dword [esp + 0x28], 0
jne 0x487633
cmp dword [0x5828cc], 0
jne 0x487633
mov eax, dword [esp + 0x84]
dec eax
cmp dword [esp + 0x14], eax
jge 0x487633
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ecx + 0x2e0]
cmp esi, dword [edx + edi + 0x2c]
je 0x487633
mov eax, dword [esp + 0x14]
inc eax
push esi
push eax
call fcn.00469100
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xf4], 0xffffffff
test eax, eax
je 0x487652
push eax
call fcn.004d7727
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x20
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jle 0x4874e0
cmp dword [esp + 0x5c], 0
je 0x4876a5
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 0xa4]
push eax
call fcn.00469060
test eax, eax
je 0x4876a5
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.0046c5c0
mov ecx, dword [ebx + 0xa4]
push eax
call fcn.00468d50
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x7c], 0
jle 0x48770d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x6c]
jge 0x48770d
mov esi, dword [eax + 8]
mov edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x64]
cmp eax, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
jle 0x4876dd
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x6c]
push 0
push 0
push 0
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x7c]
push ecx
push edx
push 0
push 0
push ebp
mov dword [esp + 0x98], esi
call dword [0x53d204]
mov eax, dword [esp + 0x24]
mov dword [eax], esi
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], eax
jne 0x48772f
mov ecx, dword [ebx + 0xa4]
mov dword [esp + 0x60], 1
cmp dword [ecx + 0xa0], eax
jne 0x487733
mov dword [esp + 0x60], eax
mov edx, dword [0x582660]
push edx
push ebp
call dword [0x53d1e4]
push 1
push ebp
call dword [str._bt_]
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x44]
cmp edi, edx
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x14], ecx
jge 0x487bc0
lea ecx, [ecx]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jge 0x487bc0
xor edx, edx
dec ecx
cmp ecx, eax
sete dl
cmp dword [0x5b35c8], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x90], edx
je 0x487807
cmp eax, dword [esp + 0x64]
jne 0x487807
cmp dword [ebx + 0x1d4], 0
jne 0x4877d8
cmp dword [ebx + 0x1d8], 0
je 0x4877e3
push 0
push 1
mov ecx, ebx
call fcn.004868d0
mov eax, dword [0x5826a8]
mov ecx, dword [0x5826b0]
mov edx, dword [0x582668]
mov dword [esp + 0x88], eax
mov dword [0x5826a8], ecx
push edx
jmp 0x487896
cmp dword [0x5b35c4], 0
je 0x4878a5
cmp dword [esp + 0x28], 0
jne 0x4878a5
mov ecx, dword [ebx + 0xa4]
cmp dword [ecx + 0xf0], 0
jle 0x4878a5
mov eax, dword [esp + 0x14]
push eax
call fcn.00469060
test eax, eax
jne 0x4878a5
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [ebx + 0xa4]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.00469150
mov ecx, dword [esp + 0xbc]
mov edx, dword [ebx + 0xa4]
mov eax, dword [edx + 0x2e0]
shl ecx, 5
cmp dword [ecx + eax + 0x14], 0
je 0x4878a5
mov ecx, dword [0x5826a8]
mov edx, dword [0x5826e8]
mov eax, dword [0x5826a0]
mov dword [esp + 0x88], ecx
mov dword [0x5826a8], edx
push eax
push ebp
call dword [0x53d1e4]
mov dword [esp + 0x58], 1
mov ecx, dword [0x589ccc]
push 0
push 0
push 0
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0xb8]
push eax
push ecx
push 0
push 0
push ebp
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd8], edx
call dword [0x53d204]
mov edx, dword [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.00469150
cmp dword [esp + 0x5c], 0
je 0x48794a
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xa4]
push edx
call fcn.00469060
test eax, eax
jne 0x487942
mov ecx, dword [ebx + 0xa4]
push eax
mov eax, dword [esp + 0x88]
push eax
call fcn.0046c5c0
mov ecx, dword [ebx + 0xa4]
push eax
call fcn.00468d50
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], 0
jmp 0x48794a
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xa4]
push edx
call fcn.00483200
mov ecx, dword [ebx + 0xa4]
mov edx, dword [ecx + 0x2e0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
shl eax, 5
add eax, edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00482000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x8c]
add ecx, edx
cmp dword [esp + 0x30], 0x1000
mov dword [esp + 0x18], ecx
jle 0x487a72
mov eax, dword [esp + 0x2c]
mov esi, 0x1000
add eax, 0x1ffc
movzx ecx, word [eax + 2]
cmp cx, 0x20
je 0x487a1a
cmp cx, 9
je 0x487a1a
movzx ecx, word [eax]
cmp cx, 0x20
je 0x487a0f
cmp cx, 9
je 0x487a0f
movzx ecx, word [eax - 2]
cmp cx, 0x20
je 0x487a12
cmp cx, 9
je 0x487a12
movzx ecx, word [eax - 4]
cmp cx, 0x20
je 0x487a17
cmp cx, 9
je 0x487a17
sub esi, 4
sub eax, 8
cmp esi, 0x800
jg 0x4879c0
jmp 0x487a1a
dec esi
jmp 0x487a1a
sub esi, 2
jmp 0x487a1a
sub esi, 3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push esi
push edx
push edi
lea eax, [esp + 0x38]
push eax
push ebp
mov ecx, ebx
call fcn.00482770
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x38], esi
sub eax, esi
cmp eax, 0x1000
lea edx, [ecx + esi*2]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
jg 0x4879b2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push esi
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x38]
push eax
push ebp
mov ecx, ebx
call fcn.00482770
cmp dword [esp + 0x28], 0
jne 0x487b69
cmp dword [0x5b35d4], 0
je 0x487b69
cmp dword [esp + 0x90], 0
jne 0x487b21
mov ecx, dword [esp + 0x14]
inc ecx
push ecx
mov ecx, dword [ebx + 0xa4]
call fcn.00469060
test eax, eax
jne 0x487b69
mov dword [esp + 0x54], 0xb6
mov edx, dword [0x5826cc]
push edx
push ebp
call dword [0x53d1e8]
cmp dword [0x57c7dc], 0
je 0x487b2b
mov ecx, dword [esp + 0x80]
push 0
push 1
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x24]
push esi
push 4
lea edx, [edi + ecx]
push edx
push eax
push ebp
call dword [0x53d204]
jmp 0x487b69
mov dword [esp + 0x54], 0xa4
jmp 0x487ae5
mov ecx, dword [0x57c874]
push ecx
push ebp
call dword [0x53d234]
mov eax, dword [esp + 0x80]
push 0
push 1
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x24]
push esi
push 4
lea ecx, [edi + eax]
push ecx
push edx
push ebp
call dword [0x53d204]
mov eax, dword [0x57c864]
push eax
push ebp
call dword [0x53d234]
cmp dword [esp + 0x60], 0
je 0x487b8b
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x6c]
mov eax, dword [0x589ccc]
push ecx
push edx
lea ecx, [edi + eax]
push ecx
push edi
push ebp
mov ecx, ebx
call fcn.0047f890
cmp dword [esp + 0x58], 0
je 0x487bac
mov eax, dword [0x582660]
mov edx, dword [esp + 0x88]
push eax
push ebp
mov dword [0x5826a8], edx
call dword [0x53d1e4]
add edi, dword [0x589ccc]
inc dword [esp + 0x14]
cmp edi, dword [esp + 0x44]
jl 0x487790
mov ecx, dword [ebx + 0x20]
push ecx
call dword [0x53d748]
push eax
call fcn.004db03f
cmp dword [esp + 0x28], 0
jne 0x487c29
mov edx, dword [ebx + 0xa4]
cmp dword [edx + 0x100], 0
je 0x487c29
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x3c], ecx
jge 0x487c29
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x16c]
push 0
call eax
cmp eax, ebx
jne 0x487c29
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
push esi
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.00483750
mov eax, dword [esi + 0xc]
cmp edi, eax
jge 0x487cd6
cmp dword [esp + 0x60], 0
je 0x487ca1
mov eax, dword [0x589ccc]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add eax, edi
push eax
push ecx
push edi
push edx
lea eax, [esp + 0xbc]
push eax
call dword [0x53d700]
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
lea ecx, [esp + 0xb8]
push ecx
push edx
push 0
push 0
push ebp
call dword [0x53d204]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x6c]
mov edx, dword [0x589ccc]
push eax
push ecx
lea eax, [edi + edx]
push eax
push edi
push ebp
mov ecx, ebx
call fcn.0047f890
mov eax, dword [0x589ccc]
add edi, eax
cmp edi, dword [esi + 0xc]
jl 0x487c40
jmp 0x487cd6
mov ecx, dword [esi + 8]
mov edx, dword [esi]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0xbc]
push eax
call dword [0x53d700]
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
lea ecx, [esp + 0xb8]
push ecx
push edx
push 0
push 0
push ebp
call dword [0x53d204]
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x487cfc
mov ecx, dword [ebx + 0xa4]
cmp dword [ecx + 0xac], 0
push eax
mov ecx, ebx
je 0x487cf7
call fcn.00482bc0
jmp 0x487cfc
call fcn.00482a20
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0051767d
add esp, 0xe4
ret 0xc