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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], ecx
jne 0x484801
cmp byte [ebp + 0x10], cl
je 0x484bcc
mov edi, dword [ebx + 0xfc]
cmp edi, ecx
je 0x484bcc
mov dword [ebp + 8], edi
mov byte [ebp + 0x10], cl
mov eax, dword [edi + 4]
cmp eax, 6
jne 0x4850a1
or eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14]
cmp eax, 1
mov byte [esp + 0x2c], cl
mov byte [esp + 0x32], cl
jne 0x484931
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x2c]
cmp esi, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x3c], edx
je 0x48491c
cmp esi, 0xb
je 0x48491c
xor cl, cl
test cl, cl
mov byte [esp + 0x33], 0
jne 0x484867
test byte [eax + 0x34], 2
mov byte [esp + 0x3a], 1
jne 0x48486c
mov byte [esp + 0x3a], 0
mov ecx, dword [eax + 0x34]
mov edx, ecx
shr edx, 7
and dl, 1
cmp esi, 5
mov byte [esp + 0x2b], dl
je 0x48488a
cmp esi, 6
mov byte [esp + 0x32], 0
jne 0x48488f
mov byte [esp + 0x32], 1
mov esi, dword [eax + 0x38]
test esi, esi
mov dword [esp + 0x48], esi
je 0x4848a5
cmp dword [esi + 0x14], 3
jne 0x4848a5
mov byte [esp + 0x2c], 1
test esi, esi
mov byte [esp + 0x3b], 0
je 0x4848c9
mov edx, dword [eax + 0x1c]
cmp dword [esi + 4], 8
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x58], edx
mov dl, byte [esp + 0x2b]
sete byte [esp + 0x3b]
mov esi, dword [eax + 0x48]
mov dword [esp + 0x68], esi
mov esi, dword [eax + 0x4c]
and ecx, 0xfffff3ff
test dl, dl
mov dword [esp + 0x74], esi
mov dword [eax + 0x34], ecx
je 0x4849f8
cmp byte [ebp + 0x14], 0
jne 0x4849f8
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x4c]
push 0
lea edx, [eax + ecx*4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x40]
push 0
push edx
push ecx
mov ecx, ebx
call fcn.00496080
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [eax + 0x34], 0x40
mov cl, 1
je 0x484853
mov byte [esp + 0x33], cl
jmp 0x484867
cmp eax, 2
jne 0x484f44
mov edi, dword [edi + 0x1c]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
and dword [edi + 0x28], 0xfffff3ff
cmp dword [edi + 0x20], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0x44]
mov byte [esp + 0x33], cl
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], cl
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x34], ecx
jbe 0x4849f8
mov esi, dword [edi + 0x1c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 8]
add esi, ecx
cmp dword [edx + esi*4], 0xffffffff
je 0x484994
mov dword [esp + 0x24], 0
jmp 0x4849ec
fldz
mov ecx, dword [eax + 0x28dc]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.004ca3c0
test eax, eax
jl 0x4849dc
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x38], esi
mov dword [eax + 0x8c], edx
mov dword [eax + 0x90], ecx
mov edx, dword [ebx + 0x1c]
mov dword [edx + esi*4], eax
xor eax, eax
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856c5
mov ecx, dword [esp + 0x34]
add ecx, 1
cmp ecx, dword [edi + 0x20]
mov dword [esp + 0x34], ecx
jb 0x484979
mov eax, dword [esp + 0x68]
xor edx, edx
cmp eax, edx
mov byte [esp + 0x23], 0
mov dword [esp + 0x70], eax
je 0x484bd7
cmp dword [esp + 0x74], edx
sete byte [esp + 0x2b]
mov eax, dword [esp + 0x70]
mov edi, dword [eax + 8]
cmp dword [edi + 4], 0x12
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], edi
jne 0x484b8e
cmp byte [ebp + 0x14], 0
je 0x484ad6
cmp dword [edi + 0x20], 1
jne 0x484aa9
mov eax, dword [ebx + 8]
test byte [eax + 0xb1], 0x80
je 0x484a82
push eax
mov eax, edi
call fcn.00484750
test al, al
jne 0x484a82
mov ecx, edi
mov edi, dword [ecx + 0x18]
mov edx, dword [edi + 0x20]
push edx
push 0x459b74
push 0xdd5
mov esi, ebx
call fcn.0048c920
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp dword [edi + 0x20], 1
jne 0x484aa9
mov eax, dword [edi + 0x14]
test eax, eax
je 0x484aa9
push 0x459b98
push 0xdd6
mov edi, eax
mov esi, ebx
call fcn.0048c920
mov edi, dword [esp + 0x3c]
add esp, 8
cmp byte [esp + 0x2b], 0
je 0x484b01
cmp dword [edi + 0x20], 1
jne 0x484b01
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 0x18]
push 0x459bf0
push 0xdd4
mov esi, ebx
call fcn.0048c920
add esp, 8
jmp 0x484b8e
cmp dword [edi + 0x20], edx
jne 0x484b01
cmp byte [esp + 0x32], 0
je 0x484b01
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x18]
push 0x459bc4
push 0xdef
mov esi, ebx
call fcn.0048c9a0
mov edi, dword [esp + 0x3c]
add esp, 8
mov edx, dword [ebx + 8]
mov al, byte [edx + 0xb1]
shr al, 7
mov ecx, 1
jne 0x484b5d
cmp dword [edi + 0x20], ecx
je 0x484b5d
cmp byte [esp + 0x32], 0
sete al
test al, al
je 0x484b8e
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 0x14]
test edi, edi
mov esi, dword [eax + 0x20]
je 0x484b8a
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x80]
push ecx
push 0
push edx
call fcn.00469110
test eax, eax
jl 0x484b8e
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x484b7b
mov dword [esp + 0x7c], esi
jmp 0x484b8e
cmp byte [esp + 0x2b], 0
je 0x484b69
cmp dword [edi + 0x20], ecx
jne 0x484b25
test al, al
je 0x484b8e
cmp byte [esp + 0x2b], 0
jne 0x484b8e
cmp dword [edi + 0x20], ecx
je 0x484b25
jmp 0x484b8e
and eax, 0xffff0000
cmp eax, ecx
jne 0x484b8e
mov dword [esp + 0x78], esi
jmp 0x484b8e
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
xor edx, edx
cmp dword [esp + 0x7c], edx
mov dword [esp + 0x70], ecx
jne 0x484bb1
mov eax, dword [esp + 0x78]
cmp eax, edx
jne 0x484bb1
mov eax, dword [esp + 0x50]
cmp eax, edx
je 0x484bb6
mov byte [esp + 0x23], 1
cmp ecx, edx
jne 0x484a18
mov dl, byte [esp + 0x23]
test dl, dl
je 0x484bd7
cmp byte [ebp + 0x14], 0
jne 0x484be1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x14], 0
jne 0x484bcc
mov dl, byte [esp + 0x23]
xor esi, esi
cmp dword [esp + 0x3c], esi
jbe 0x484c96
mov edi, dword [esp + 0x4c]
add edi, edi
add edi, edi
cmp byte [esp + 0x33], 0
je 0x484c0e
cmp byte [esp + 0x2c], 0
jne 0x484c0e
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x28e4]
jmp 0x484c17
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x28dc]
cmp byte [esp + 0x3a], 0
je 0x484c31
mov edx, dword [ebx + 0x1c]
cmp dword [edi + edx], 0xffffffff
je 0x484c31
mov dword [esp + 0x24], 0
jmp 0x484c82
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.004ca3c0
test eax, eax
jl 0x484c76
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
lea ecx, [esi + edx]
mov edx, dword [ebp + 8]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x8c], edx
mov dword [eax + 0x90], esi
mov ecx, dword [ebx + 0x1c]
mov dword [edi + ecx], eax
xor eax, eax
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856c5
add esi, 1
add edi, 4
cmp esi, dword [esp + 0x3c]
jb 0x484bf5
mov dl, byte [esp + 0x23]
cmp byte [esp + 0x33], 0
jne 0x484d4f
cmp byte [esp + 0x3b], 0
je 0x4856c5
cmp byte [ebp + 0x14], 0
jne 0x4856c5
mov eax, dword [ebx + 8]
test byte [eax + 0xaf], 0x10
je 0x4856c5
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x6c]
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, dword [eax + 0x2958]
call fcn.004846c0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856c5
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x1c]
mov ebx, dword [esp + 0x48]
add esi, esi
push edx
add esi, esi
add eax, esi
push eax
push ebx
push edi
call fcn.0048a6f0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856c5
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
push 0
push 0
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push 0
push 0
push 1
push eax
add ecx, esi
push ecx
push ebx
mov ecx, edi
call fcn.0048e170
mov dword [esp + 0x24], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x74]
test eax, eax
je 0x484dff
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebx + 0x30]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, ecx
and eax, 1
xor edi, edi
or eax, edi
mov dword [esp + 0x58], esi
je 0x484d88
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x28e4]
jmp 0x484d9a
and ecx, 0x20
xor eax, eax
or ecx, eax
je 0x484db6
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x28ec]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.004ca6f0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856c5
mov dl, byte [esp + 0x23]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x484dd0
mov eax, dword [esp + 0x34]
neg dl
sbb edx, edx
add edx, 2
mov dword [esi + 0x40], edx
mov dword [eax + 0x18], esi
jmp 0x484e0c
neg dl
sbb edx, edx
add edx, 2
cmp eax, edx
je 0x484df6
mov edi, dword [ebp + 8]
push 0x459c30
push 0xdca
mov esi, ebx
call fcn.0048c920
mov esi, dword [esp + 0x60]
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [eax + 0x18], esi
jmp 0x484e0c
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x28e4]
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x48]
push eax
lea esi, [edi*4]
add ecx, esi
push ecx
push edx
push ebx
call fcn.0048a6f0
test eax, eax
jl 0x4856ea
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push 0
push ecx
mov ecx, dword [ebx + 0x1c]
push edx
mov edx, dword [esp + 0x58]
push 0
push 0
push 1
push eax
add ecx, esi
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x68], 0
call fcn.0048e170
test eax, eax
jl 0x4856ea
mov eax, dword [ebx + 0x1c]
add eax, esi
cmp dword [eax], 0xffffffff
je 0x484f23
mov edx, dword [eax]
mov ecx, dword [edx + 0xc]
and ecx, 0x1c000
xor eax, eax
or eax, ecx
mov dword [esp + 0x58], edx
je 0x484ebb
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 0x20]
push edx
push 0x459c78
push 0xdba
mov esi, ebx
call fcn.0048c920
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov edx, dword [edx + 0x10]
mov dword [esp + 0x34], edx
je 0x484f23
cmp dword [edx + 0x18], 0xffffffff
je 0x484f23
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
push esi
add edx, edi
mov edi, dword [ebp + 8]
mov eax, dword [eax + edx*4 - 4]
mov esi, dword [edi + 0x1c]
mov edx, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0x2c]
push esi
mov esi, dword [edi + 0x18]
mov esi, dword [esi + 0x20]
push esi
mov esi, dword [eax + 0xa0]
mov eax, dword [eax + 0x2c]
sub esi, edx
lea eax, [eax + esi*4]
sub eax, ecx
add eax, 1
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0x18]
mov esi, dword [eax + 0x3c]
push ecx
call fcn.0048d570
jmp 0x484f26
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x1c]
push ebx
call fcn.0048f940
test eax, eax
mov dword [esp + 0x24], eax
jge 0x4856c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 6
jne 0x484f66
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edx
push ecx
mov ecx, dword [edi + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.004847c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 7
jne 0x485023
push ecx
push 1
push ebx
mov eax, edi
call fcn.0048ad40
test eax, eax
jl 0x4856ea
mov edx, dword [ebx + 8]
test byte [edx + 0xae], 0x80
je 0x485005
push 0
xor edx, edx
lea eax, [esp + 0x94]
call fcn.0048d690
push edx
xor ecx, ecx
mov eax, 0x80
lea esi, [esp + 0xb4]
call fcn.0048de80
test eax, eax
mov dword [esp + 0x24], eax
jge 0x484fd3
lea eax, [esp + 0x90]
call fcn.0048d6d0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov edx, dword [edi + 0x1c]
push eax
push 0
lea ecx, [esp + 0x98]
push ecx
push edx
mov ecx, ebx
call fcn.004847c0
mov esi, eax
lea eax, [esp + 0x90]
call fcn.0048d6d0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x1c]
push eax
push 0
push 0
push ecx
mov ecx, ebx
call fcn.004847c0
mov esi, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 8
jne 0x484bcc
push ecx
push 0x20
push ebx
mov eax, edi
call fcn.0048ad40
test eax, eax
jl 0x4856ea
push 0
xor edx, edx
lea eax, [esp + 0x94]
call fcn.0048d690
push edx
xor ecx, ecx
mov eax, 0x80
lea esi, [esp + 0xb4]
call fcn.0048de80
mov dword [esp + 0x24], eax
test eax, eax
lea eax, [esp + 0x90]
jl 0x484fc1
mov edx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x1c]
push edx
push 0
push eax
push ecx
mov ecx, ebx
call fcn.004847c0
mov esi, eax
lea eax, [esp + 0x90]
call fcn.0048d6d0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0xc
jne 0x48558c
cmp byte [ebp + 0x14], cl
mov dword [esp + 0x58], 0x459cb4
mov dword [esp + 0x5c], 0x459cbc
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 1
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 1
jne case.0x4850e4.7
mov eax, dword [edi + 0x14]
cmp eax, 0xc
ja case.0x4850e4.7
jmp dword [eax*4 + 0x4856f4]
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
push ecx
push ecx
push ecx
push ecx
push edx
push ebx
call fcn.00485d70
xor esi, esi
cmp eax, esi
jl 0x4856ea
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [edi + 0x18]
push esi
push esi
push esi
mov dword [esp + 0x48], ecx
push edx
mov ecx, ebx
call fcn.00496080
cmp eax, esi
mov dword [esp + 0x24], eax
jl 0x4856ea
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x3c]
cmp dword [edx + 0x10], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
jbe 0x485146
mov eax, dword [edx + 0x14]
mov eax, dword [eax + ecx*4]
jmp 0x485148
xor eax, eax
mov edx, dword [edx + 0x10]
mov esi, ecx
cmp esi, edx
mov dword [esp + 0x40], edx
jae 0x4851ac
mov esi, dword [esp + 0x50]
lea esp, [esp]
mov edx, dword [ebx + 0xb0]
cmp dword [eax + 0x30], edx
jne 0x485185
mov eax, dword [eax + 0x34]
test eax, eax
je 0x485185
cmp dword [eax + 4], 0xe
jne 0x485185
mov edx, dword [eax + 0x50]
cmp edx, esi
jb 0x485185
mov dword [esp + 0x58], eax
mov esi, edx
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x10]
add ecx, 1
cmp ecx, edx
jb 0x485198
xor eax, eax
mov ecx, edx
jmp 0x48519e
mov edx, dword [eax + 0x14]
mov eax, dword [edx + ecx*4]
cmp ecx, dword [esp + 0x40]
jb 0x485160
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x10], esi
jbe 0x4851bc
mov eax, dword [eax + 0x14]
mov esi, dword [eax + esi*4]
jmp 0x4851be
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp eax, edx
jae 0x485200
jmp 0x4851d0
mov ecx, dword [esi + 0x30]
cmp ecx, dword [ebx + 0xb0]
jne 0x4851e2
mov edx, dword [esp + 0x58]
mov dword [esi + 0x34], edx
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x10]
add eax, 1
cmp eax, ecx
jb 0x4851f5
xor esi, esi
mov eax, ecx
jmp 0x4851fb
mov ecx, dword [edx + 0x14]
mov esi, dword [ecx + eax*4]
cmp eax, dword [edx + 0x10]
jb 0x4851d0
cmp dword [edi + 0x14], 1
jne case.0x4850e4.7
mov edx, dword [edi + 0x34]
push edx
mov eax, ebx
call fcn.00498c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 0x30]
push ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edi + 0x38]
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
push edi
mov esi, ebx
call fcn.004890c0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856ea
mov eax, ebx
call fcn.0048a260
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], eax
jmp case.0x4850e4.7
push 2
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], cl
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [edi + 0x38]
push ebx
mov dword [esp + 0x68], 0x459cc4
mov dword [esp + 0x6c], 0x459ccc
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov edx, dword [edi + 0x1c]
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x50], 0xffffffff
call fcn.00496080
test eax, eax
jl 0x4856ea
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x40]
push 0
push 0
push 0
push eax
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x30]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004b62e0
test eax, eax
mov dword [esp + 0x24], eax
jge case.0x4850e4.7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 4
lea edx, [esp + 0x4c]
push edx
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x88]
push eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], cl
mov byte [esp + 0x56], cl
mov byte [esp + 0x57], cl
lea ecx, [esp + 0x64]
push ecx
push edx
push ebx
mov dword [esp + 0x70], 0x459cc4
mov dword [esp + 0x74], 0x459ccc
mov dword [esp + 0x78], 0x459cd4
mov dword [esp + 0x7c], 0x459ce0
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov ecx, dword [edi + 0x1c]
push 0
push 0
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x50], 0xffffffff
call fcn.00496080
test eax, eax
jl 0x4856ea
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
push edx
mov edx, dword [edi + 0x30]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.004bcb50
test eax, eax
mov dword [esp + 0x24], eax
jge case.0x4850e4.7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0x30]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [edi + 0x38]
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push edx
push eax
push ecx
push edi
call fcn.004aeb60
test eax, eax
mov dword [esp + 0x24], eax
jge case.0x4850e4.7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 2
lea edx, [esp + 0x30]
push edx
mov edx, dword [edi + 0x30]
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x38]
lea ecx, [esp + 0x64]
push ecx
push edx
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push eax
push ecx
push edx
push 0
jmp 0x485400
push 2
lea eax, [esp + 0x30]
push eax
mov eax, dword [edi + 0x30]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [edi + 0x38]
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push ecx
push eax
push edx
push eax
jmp 0x485400
mov eax, dword [edi + 0x30]
push ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edi + 0x38]
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov ecx, dword [ebx + 8]
test byte [ecx + 0xae], 0x40
je 0x4854ca
mov edx, dword [edi + 0x34]
push edx
mov esi, ebx
call fcn.004991e0
test eax, eax
mov dword [esp + 0x24], eax
jge 0x4854e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [edi + 0x34]
push 1
lea eax, [ebx + 0x78]
push eax
push edi
call fcn.004ad4d0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856ea
mov eax, ebx
call fcn.0048a260
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], eax
jmp case.0x4850e4.7
mov eax, dword [edi + 0x30]
push ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edi + 0x38]
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov ecx, dword [edi + 0x34]
push ecx
call fcn.004b32c0
jmp 0x485406
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
push ecx
push ecx
push ecx
push ecx
push edx
push ebx
call fcn.00485d70
test eax, eax
jl 0x4856ea
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x34]
push eax
push ecx
mov eax, ebx
call fcn.004b3a70
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856ea
cmp byte [ebp + 0x10], 0
je 0x4856c5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xfc]
push edx
push 0
push eax
push ecx
mov ecx, ebx
call fcn.004847c0
test eax, eax
mov dword [esp + 0x24], eax
jge 0x4856c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x4856d2
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 8]
push edx
push 0
push eax
push ecx
mov ecx, ebx
call fcn.004847c0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856ea
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x1c]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4855e8
mov eax, dword [eax]
lea edi, [esp + 0x23]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4856a7
cmp byte [esp + 0x23], 0
jne 0x4856a7
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x1c]
cmp dword [edx + ecx*4], 0xffffffff
lea eax, [edx + ecx*4]
je 0x48561a
mov eax, dword [eax]
lea edi, [esp + 0x23]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4856a7
cmp byte [esp + 0x23], 0
jne 0x4856a7
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x1c]
cmp dword [ecx + eax*4], 0xffffffff
lea eax, [ecx + eax*4]
je 0x485644
mov eax, dword [eax]
lea edi, [esp + 0x23]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4856a7
cmp byte [esp + 0x23], 0
jne 0x4856a7
mov edx, dword [ebx + 0x90]
mov eax, dword [ebx + 0x1c]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x48566e
mov eax, dword [eax]
lea edi, [esp + 0x23]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4856a7
cmp byte [esp + 0x23], 0
jne 0x4856a7
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0xc]
test edi, edi
mov dword [ebp + 8], edi
jne 0x485595
cmp byte [ebp + 0x10], 0
je 0x485692
mov edi, dword [ebx + 0xfc]
mov dword [ebp + 8], edi
mov byte [ebp + 0x10], 0
test edi, edi
jne 0x485595
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + 0xc]
push eax
push edx
mov ecx, ebx
call fcn.004b7ef0
test eax, eax
mov dword [esp + 0x24], eax
jl 0x4856ea
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x459ce8
push 0
xor edi, edi
mov esi, ebx
call fcn.0048c920
add esp, 8
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10