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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, eax
mov eax, dword [ebp + 0x154]
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp edi, dword [ebp + 0x90]
jne 0x488590
lea ecx, [ebp + 0x114]
lea eax, [ebp + 0x110]
mov dword [esp + 0x14], ecx
jmp 0x48859d
mov eax, dword [ebp + 0x11c]
lea edx, [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
lea ebx, [ebx]
test esi, esi
mov edx, dword [esp + 0x14]
mov dword [eax], ebx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x24], 1
mov dword [edx], ecx
jg 0x4885e5
mov cl, byte [esp + 0x3c]
test cl, cl
je 0x4885cc
test esi, esi
jne 0x4896b7
lea ecx, [esi + 4]
cmp ecx, 4
ja case.0x4885d4.3
jmp dword [ecx*4 + 0x48978f]
mov eax, dword [esp + 0x30]
neg esi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
push edi
push ecx
push ebx
lea eax, [ebp + 0xfc]
push esi
push eax
call dword [eax]
mov edi, eax
lea eax, [edi + 1]
add esp, 0x14
cmp eax, 0x3a
mov dword [esp + 0x1c], edi
ja case.default.0x48860b
jmp dword [eax*4 + 0x4897a3]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push ebp
xor edx, edx
call fcn.004860c7
add esp, 4
test eax, eax
jne 0x489787
mov edx, dword [ebp + 0x90]
mov dword [esp + 0x28], edx
jmp 0x4886b0
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x488680
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea ecx, [ebp + 0x190]
call fcn.00485bc7
test eax, eax
mov dword [ebp + 0x130], eax
je 0x4888a3
mov eax, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], eax
mov dword [ebp + 0x138], 0
mov byte [esp + 0x24], 0
mov dword [ebp + 0x134], 0
mov al, byte [esp + 0x24]
test al, al
je 0x4886b0
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x4886b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
push ecx
mov esi, ebp
call fcn.00484797
add esp, 4
mov eax, dword [ebp + 0x1d0]
sub eax, 2
je 0x489782
dec eax
je 0x48976e
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x34]
push edx
push eax
push ebx
push edi
mov dword [esp + 0x3c], ebx
call dword [edi]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x4885a7
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x48860b
mov ecx, dword [ebp + 0x138]
mov edx, dword [ebp + 0x134]
push 1
push ecx
mov ecx, dword [ebp + 0x130]
push edx
mov edx, dword [ebp + 4]
push ecx
push edx
call eax
add esp, 0x14
lea ecx, [ebp + 0x190]
mov dword [ebp + 0x130], 0
call fcn.00484d17
jmp 0x4886b0
mov eax, dword [esp + 0x10]
mov byte [eax + 0x81], 1
mov eax, dword [ebp + 0x54]
test eax, eax
je case.0x48860b.14
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push ebx
push eax
call dword [eax + 0x34]
add esp, 0x10
test eax, eax
je 0x489701
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
sub esi, eax
add eax, ebx
lea ecx, [ebp + 0x190]
call fcn.00485bc7
test eax, eax
mov dword [ebp + 0x138], eax
je 0x4888a3
mov esi, eax
call fcn.00484917
mov eax, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], eax
mov byte [esp + 0x24], 0
jmp 0x4887c4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push ebx
push eax
call dword [eax + 0x34]
add esp, 0x10
test eax, eax
je 0x489701
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je 0x48868a
mov eax, dword [ebp + 0x12c]
test eax, eax
je 0x48868a
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
sub esi, eax
add eax, ebx
add ecx, 0x50
call fcn.00485bc7
mov esi, eax
test esi, esi
je 0x4888a3
call fcn.00484917
mov ecx, dword [ebp + 0x12c]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x18], esi
mov edx, dword [eax + 0x5c]
mov dword [eax + 0x60], edx
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x4886b0
jmp 0x48868a
mov eax, dword [ebp + 0x130]
test eax, eax
je 0x488869
mov ecx, dword [ebp + 0x138]
mov edx, dword [ebp + 0x134]
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call dword [ebp + 0x54]
add esp, 0x14
lea ecx, [ebp + 0x190]
call fcn.00484d17
mov byte [esp + 0x24], 0
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x48868a
mov ecx, dword [ebp + 4]
push ecx
call eax
jmp 0x4886ad
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push ebp
call fcn.00485c07
add esp, 8
test eax, eax
mov dword [ebp + 0x148], eax
jne case.0x48860b.33
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push ebp
call fcn.00486a57
add esp, 0x10
test eax, eax
mov dword [ebp + 0x14c], eax
je 0x4888a3
mov byte [ebp + 0x150], 0
mov dword [ebp + 0x13c], 0
mov byte [ebp + 0x151], 0
jmp case.0x48860b.33
mov byte [ebp + 0x150], 1
mov dword [ebp + 0x13c], 0x4dbac0
jmp case.0x48860b.33
mov byte [ebp + 0x151], 1
mov dword [ebp + 0x13c], 0x4dbac8
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbacc
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbad4
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbadc
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbae4
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbaf0
jmp case.0x48860b.33
mov dword [ebp + 0x13c], 0x4dbaf8
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x48860b
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x80]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x48860b
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4889ae
mov eax, 0x4dbb10
jmp 0x4889bd
cmp edi, 0x20
mov eax, 0x4dbb04
je 0x4889bd
mov eax, 0x4dbb14
lea ebx, [ebp + 0x190]
mov ecx, ebx
call fcn.00485b87
test eax, eax
je 0x4888a3
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
push edx
mov eax, ebx
call fcn.00485ae7
add esp, 4
test eax, eax
je 0x4888a3
mov eax, dword [ebp + 0x1a0]
mov dword [ebp + 0x13c], eax
jmp 0x4886b0
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x80]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x14c]
mov esi, dword [ebp + 0x148]
xor edx, edx
mov dl, byte [ebp + 0x150]
push 0
mov ebx, ebp
push edx
mov dl, byte [ebp + 0x151]
push eax
call fcn.00484847
add esp, 0xc
test eax, eax
je 0x4888a3
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x48860b
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x48860b
mov cl, byte [eax]
cmp cl, 0x28
je 0x488a76
cmp cl, 0x4e
jne 0x488af4
cmp byte [eax + 1], 0x4f
jne 0x488af4
mov ecx, dword [ebp + 0x19c]
cmp ecx, dword [ebp + 0x198]
jne 0x488a97
lea ebx, [ebp + 0x190]
call fcn.00484d97
test al, al
je 0x4888a3
mov edx, dword [ebp + 0x19c]
mov byte [edx], 0x29
mov edx, dword [ebp + 0x19c]
mov ecx, dword [ebp + 0x198]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [ebp + 0x19c], edx
jne 0x488acc
lea ebx, [ebp + 0x190]
call fcn.00484d97
test al, al
je 0x4888a3
mov eax, dword [ebp + 0x19c]
mov byte [eax], 0
mov eax, dword [ebp + 0x19c]
mov ecx, dword [ebp + 0x1a0]
inc eax
mov dword [ebp + 0x19c], eax
mov dword [ebp + 0x13c], ecx
mov dword [ebp + 0x1a0], eax
mov esi, dword [esp + 0x1c]
xor ecx, ecx
cmp esi, 0x24
sete cl
push ecx
push 0
jmp 0x488c44
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x48860b
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x40]
mov eax, dword [esp + 0x34]
mov esi, edx
mov edx, dword [esp + 0x2c]
sub eax, ecx
add ecx, edx
xor edx, edx
mov dl, byte [ebp + 0x150]
add esi, 0x50
push edx
push ebp
mov edx, edi
call fcn.00487077
add esp, 8
test eax, eax
jne 0x489787
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x60]
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x60], ecx
mov eax, dword [ebp + 0x14c]
mov esi, dword [ebp + 0x148]
xor edx, edx
mov dl, byte [ebp + 0x150]
push edi
mov ebx, ebp
push edx
push eax
xor dl, dl
call fcn.00484847
add esp, 0xc
test eax, eax
je 0x4888a3
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x48860b
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x48860b
mov cl, byte [eax]
cmp cl, 0x28
je 0x488bb8
cmp cl, 0x4e
jne 0x488c36
cmp byte [eax + 1], 0x4f
jne 0x488c36
mov ecx, dword [ebp + 0x19c]
cmp ecx, dword [ebp + 0x198]
jne 0x488bd9
lea ebx, [ebp + 0x190]
call fcn.00484d97
test al, al
je 0x4888a3
mov edx, dword [ebp + 0x19c]
mov byte [edx], 0x29
mov edx, dword [ebp + 0x19c]
mov ecx, dword [ebp + 0x198]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [ebp + 0x19c], edx
jne 0x488c0e
lea ebx, [ebp + 0x190]
call fcn.00484d97
test al, al
je 0x4888a3
mov eax, dword [ebp + 0x19c]
mov byte [eax], 0
mov eax, dword [ebp + 0x19c]
mov ecx, dword [ebp + 0x1a0]
inc eax
mov dword [ebp + 0x19c], eax
mov dword [ebp + 0x13c], ecx
mov dword [ebp + 0x1a0], eax
mov esi, dword [esp + 0x1c]
xor ecx, ecx
cmp esi, 0x26
sete cl
push ecx
push edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [ebp + 0x13c]
mov eax, dword [ebp + 0x14c]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0x148]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x84]
add esp, 0x18
lea ecx, [ebp + 0x190]
call fcn.00484d17
jmp 0x4886b0
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x48860b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x40]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
sub edx, eax
push edx
add eax, esi
push ebp
call fcn.004866e7
mov ecx, dword [ebp + 0x12c]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x78]
add esp, 8
test ecx, ecx
je 0x488d27
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x78]
mov ecx, dword [eax + 0x74]
sub ecx, edx
mov edx, dword [ebp + 0x12c]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x74]
mov dword [eax + 0x78], ecx
mov eax, dword [ebp + 0x88]
test eax, eax
je 0x488d2a
mov edx, dword [esp + 0x14]
push 0
mov dword [edx], esi
mov eax, dword [ebp + 0x12c]
mov ecx, dword [ebp + 0x158]
mov edx, dword [eax + 8]
push 0
push 0
push ecx
mov ecx, dword [eax + 4]
push edx
movzx edx, byte [eax + 0x21]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [ebp + 0x88]
add esp, 0x24
mov byte [esp + 0x24], 0
jmp 0x488d2a
mov dword [eax + 0x74], edx
test edi, edi
je 0x48868a
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ebx, dword [esp + 0x10]
mov byte [ebx + 0x81], 1
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x488d8b
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub esi, eax
add eax, ecx
lea ecx, [ebp + 0x190]
call fcn.00485bc7
test eax, eax
mov dword [ebp + 0x134], eax
je 0x4888a3
mov edx, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], edx
mov byte [esp + 0x24], 0
mov al, byte [ebx + 0x82]
test al, al
jne 0x48868a
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x48868a
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x48868a
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x48860b
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub esi, eax
mov ebx, edx
add eax, ecx
lea ecx, [ebx + 0x50]
call fcn.00485bc7
mov edx, dword [ebp + 0x12c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x12c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4888a3
mov ecx, dword [ebp + 0x158]
mov dword [eax + 0x14], ecx
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edx
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x48860b
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x48860b
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x48860b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x12c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, dword [eax + 0x14]
push edx
movzx edx, byte [eax + 0x21]
push ecx
push 0
push 0
push edx
jmp 0x488f58
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x48860b
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ebx, edx
lea ecx, [ebx + 0x50]
call fcn.00485bc7
mov ecx, dword [ebp + 0x12c]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0x12c]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4888a3
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x488f24
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x12c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call dword [ebp + 0x5c]
add esp, 0x18
jmp 0x4886b0
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x48860b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov eax, dword [ebp + 0x12c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x14]
push ecx
push edx
push 0
push 0
push 0
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x88]
add esp, 0x24
jmp 0x4886b0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push edi
push eax
call dword [eax + 0x2c]
add esp, 0xc
test eax, eax
je 0x488f95
mov dword [ebp + 0x12c], 0
jmp case.default.0x48860b
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x80]
test al, al
je 0x489040
mov esi, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0x28]
lea ecx, [ebx + 0x50]
call fcn.00485bc7
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4888a3
push 0x24
push esi
push ebx
call fcn.004849b7
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x12c], eax
je 0x4888a3
cmp dword [eax], esi
je 0x488ff4
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5c], eax
mov dword [ebp + 0x12c], edi
jmp case.default.0x48860b
mov ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], ecx
mov edx, dword [ebp + 0x12c]
mov dword [edx + 0x18], edi
mov eax, dword [ebp + 0x12c]
mov byte [eax + 0x21], 0
cmp dword [ebp + 0x1cc], edi
jne 0x489024
cmp dword [ebp + 0x11c], edi
jne 0x489024
mov eax, 1
jmp 0x489026
xor eax, eax
mov ecx, dword [ebp + 0x12c]
mov byte [ecx + 0x22], al
cmp dword [ebp + 0x88], edi
je case.default.0x48860b
jmp 0x4886b0
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x5c], edx
mov dword [ebp + 0x12c], 0
jmp case.default.0x48860b
mov ecx, dword [ebp + 0x60]
xor eax, eax
cmp ecx, eax
mov dword [ebp + 0x144], eax
mov dword [ebp + 0x140], eax
je case.default.0x48860b
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea ecx, [ebp + 0x190]
call fcn.00485bc7
test eax, eax
mov dword [ebp + 0x140], eax
je 0x4888a3
mov eax, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], eax
jmp 0x4886b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [eax + 0x34]
add esp, 0x10
test eax, eax
je 0x489701
mov eax, dword [ebp + 0x140]
test eax, eax
je case.default.0x48860b
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub esi, eax
add eax, ecx
lea ecx, [ebp + 0x190]
call fcn.00485bc7
mov esi, eax
test esi, esi
je 0x4888a3
call fcn.00484917
mov edx, dword [ebp + 0x19c]
mov dword [ebp + 0x144], esi
mov dword [ebp + 0x1a0], edx
jmp 0x4886b0
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x4891a0
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x4891a0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
sub esi, eax
add eax, ebx
lea ecx, [ebp + 0x190]
call fcn.00485bc7
test eax, eax
je 0x4888a3
mov ecx, dword [esp + 0x14]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x144]
push edx
push eax
jmp 0x489183
mov eax, dword [ebp + 0x144]
test eax, eax
je 0x4891a0
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x4891a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x144]
push edx
push 0
mov eax, dword [ebp + 0x158]
mov ecx, dword [ebp + 0x140]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [ebp + 0x60]
add esp, 0x14
mov byte [esp + 0x24], 0
lea ecx, [ebp + 0x190]
call fcn.00484d17
jmp 0x48868a
mov eax, dword [ebp + 0x1c4]
cmp dword [ebp + 0x100], eax
jb 0x489235
test eax, eax
je 0x489215
add eax, eax
push eax
mov dword [ebp + 0x1c4], eax
mov eax, dword [ebp + 0x1c0]
push eax
call dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x4888a3
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1c0], eax
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x489239
mov ecx, dword [ebp + 0x1c4]
shl ecx, 2
push ecx
push eax
call dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x4888a3
mov dword [esi + 0xa4], eax
jmp 0x489239
push 0x20
mov dword [ebp + 0x1c4], 0x20
call dword [ebp + 0xc]
add esp, 4
test eax, eax
mov dword [ebp + 0x1c0], eax
je 0x4888a3
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x100]
mov edx, dword [ebp + 0x1c0]
mov byte [edx + eax], 0
mov al, byte [esi + 0x8c]
test al, al
je case.default.0x48860b
mov eax, ebp
call fcn.00484ef7
test eax, eax
jl 0x4888a3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xa0]
mov esi, dword [ecx + 0xa4]
mov dword [esi + edx*4], eax
imul eax, eax, 0x1c
inc dword [ecx + 0xa0]
mov ecx, dword [ecx + 0x90]
mov dword [eax + ecx], 6
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x100]
mov cl, byte [eax + edx]
add eax, edx
cmp cl, 0x7c
je 0x489761
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x2c
mov al, byte [ecx + 0x8c]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x100]
mov al, byte [edx + eax]
cmp al, 0x2c
je 0x489761
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + 0x8c]
test dl, dl
je 0x489345
test al, al
jne 0x489345
mov eax, dword [ecx + 0xa4]
mov edx, dword [ecx + 0xa0]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ecx + 0x90]
imul edx, edx, 0x1c
mov ecx, dword [eax + edx]
add eax, edx
cmp ecx, 3
je 0x489345
mov dword [eax], 5
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x489345
mov byte [esp + 0x24], 0
mov ecx, dword [ebp + 0x1c0]
mov edx, dword [ebp + 0x100]
mov byte [ecx + edx], 0x7c
jmp 0x48868a
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x82]
test cl, cl
jne case.default.0x48860b
mov eax, dword [ebp + 0x6c]
test eax, eax
je case.default.0x48860b
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x488db5
jmp case.default.0x48860b
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x48860b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push ebp
call fcn.00485c07
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [ebp + 0x148], eax
je 0x4888a3
mov eax, dword [esp + 0x10]
mov dword [eax + 0xa0], ecx
mov dword [eax + 0x9c], ecx
mov byte [eax + 0x8c], 1
jmp 0x4886b0
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x48860b
mov eax, dword [ebp + 0x80]
xor esi, esi
cmp eax, esi
je 0x489448
push 0x14
call dword [ebp + 0xc]
add esp, 4
cmp eax, esi
je 0x4888a3
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edi, 0x29
sete cl
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
push eax
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [ebp + 0x148]
mov eax, dword [edx]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [ebp + 0x80]
add esp, 0xc
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 0x8c], 0
jmp 0x48868a
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x48860b
mov edx, dword [eax + 0xa4]
mov ecx, dword [eax + 0xa0]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [eax + 0x90]
imul ecx, ecx, 0x1c
mov dword [ecx + edx], 3
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
xor edi, edi
jmp 0x4894b4
mov edi, 1
jmp 0x4894b4
mov edi, 2
jmp 0x4894b4
mov edi, 3
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x48860b
test edi, edi
jne 0x4894d4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
jmp 0x4894e3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
sub eax, dword [edx + 0x40]
mov dword [esp + 0x24], eax
mov eax, ebp
call fcn.00484ef7
test eax, eax
jl 0x4888a3
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [ebx + 0x90]
imul esi, esi, 0x1c
mov dword [esi + eax], 4
mov ecx, dword [ebx + 0x90]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push ebp
mov dword [esi + ecx + 4], edi
call fcn.00485c07
add esp, 8
test eax, eax
je 0x4888a3
mov edi, dword [eax]
mov eax, dword [ebx + 0x90]
mov dword [esi + eax + 8], edi
xor ecx, ecx
mov dl, byte [ecx + edi]
inc ecx
test dl, dl
jne 0x48953e
add dword [ebx + 0x94], ecx
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
xor ecx, ecx
jmp 0x489576
mov ecx, 1
jmp 0x489576
mov ecx, 2
jmp 0x489576
mov ecx, 3
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0x8c]
test dl, dl
je case.default.0x48860b
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x489597
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xa0]
mov esi, dword [eax + 0xa4]
dec edx
mov dword [eax + 0xa0], edx
mov edx, dword [esi + edx*4]
mov esi, dword [eax + 0x90]
imul edx, edx, 0x1c
mov dword [edx + esi + 4], ecx
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x48868a
mov cl, byte [esp + 0x24]
test cl, cl
jne 0x489608
mov ebx, ebp
call fcn.004850f7
test eax, eax
je 0x4888a3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp + 0x148]
mov ecx, dword [eax]
push ecx
push edx
call dword [ebp + 0x80]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax + 0x8c], 0
mov dword [eax + 0x94], 0
jmp 0x48868a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ebp
call fcn.00486907
add esp, 0xc
test eax, eax
je 0x4888a3
jmp 0x4886b0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.004869d7
add esp, 4
test eax, eax
je 0x4888a3
jmp 0x4886b0
cmp esi, 0xe
jne case.default.0x48860b
jmp 0x4886b0
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x48860b
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov eax, dword [ebp + 0x60]
test eax, eax
je case.default.0x48860b
jmp 0x4886b0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, 4
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebp
mov dword [ebp + 0x108], fcn.00488507
call fcn.00488507
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, 0xc
je 0x489754
xor eax, eax
cmp esi, 0x1c
sete al
pop edi
pop esi
pop ebp
pop ebx
lea eax, [eax*8 + 2]
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret