Function at 0x485df5
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 0x485e2e
lea ecx, [ebp + 0x114]
lea eax, [ebp + 0x110]
mov dword [esp + 0x14], ecx
jmp 0x485e3b
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 0x485e83
mov cl, byte [esp + 0x3c]
test cl, cl
je 0x485e6a
test esi, esi
jne 0x486f55
lea ecx, [esi + 4]
cmp ecx, 4
ja case.0x485e72.3
jmp dword [ecx*4 + 0x48702d]
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.0x485ea9
jmp dword [eax*4 + 0x487041]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push ebp
xor edx, edx
call fcn.00483965
add esp, 4
test eax, eax
jne 0x487025
mov edx, dword [ebp + 0x90]
mov dword [esp + 0x28], edx
jmp 0x485f4e
mov eax, dword [ebp + 0x54]
test eax, eax
je 0x485f1e
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea ecx, [ebp + 0x190]
call fcn.00483465
test eax, eax
mov dword [ebp + 0x130], eax
je 0x486141
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 0x485f4e
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x485f4e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
push ecx
mov esi, ebp
call fcn.00482035
add esp, 4
mov eax, dword [ebp + 0x1d0]
sub eax, 2
je 0x487020
dec eax
je 0x48700c
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 0x485e45
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x485ea9
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.004825b5
jmp 0x485f4e
mov eax, dword [esp + 0x10]
mov byte [eax + 0x81], 1
mov eax, dword [ebp + 0x54]
test eax, eax
je case.0x485ea9.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 0x486f9f
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.00483465
test eax, eax
mov dword [ebp + 0x138], eax
je 0x486141
mov esi, eax
call fcn.004821b5
mov eax, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], eax
mov byte [esp + 0x24], 0
jmp 0x486062
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 0x486f9f
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je 0x485f28
mov eax, dword [ebp + 0x12c]
test eax, eax
je 0x485f28
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.00483465
mov esi, eax
test esi, esi
je 0x486141
call fcn.004821b5
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 0x485f4e
jmp 0x485f28
mov eax, dword [ebp + 0x130]
test eax, eax
je 0x486107
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.004825b5
mov byte [esp + 0x24], 0
mov eax, dword [ebp + 0x58]
test eax, eax
je 0x485f28
mov ecx, dword [ebp + 4]
push ecx
call eax
jmp 0x485f4b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push ebp
call fcn.004834a5
add esp, 8
test eax, eax
mov dword [ebp + 0x148], eax
jne case.0x485ea9.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.004842f5
add esp, 0x10
test eax, eax
mov dword [ebp + 0x14c], eax
je 0x486141
mov byte [ebp + 0x150], 0
mov dword [ebp + 0x13c], 0
mov byte [ebp + 0x151], 0
jmp case.0x485ea9.33
mov byte [ebp + 0x150], 1
mov dword [ebp + 0x13c], 0x4c9084
jmp case.0x485ea9.33
mov byte [ebp + 0x151], 1
mov dword [ebp + 0x13c], 0x4c908c
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c9090
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c9098
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c90a0
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c90a8
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c90b4
jmp case.0x485ea9.33
mov dword [ebp + 0x13c], 0x4c90bc
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x485ea9
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x80]
test al, al
je case.default.0x485ea9
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x485ea9
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x48624c
mov eax, 0x4c90d4
jmp 0x48625b
cmp edi, 0x20
mov eax, 0x4c90c8
je 0x48625b
mov eax, 0x4c90d8
lea ebx, [ebp + 0x190]
mov ecx, ebx
call fcn.00483425
test eax, eax
je 0x486141
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
push edx
mov eax, ebx
call fcn.00483385
add esp, 4
test eax, eax
je 0x486141
mov eax, dword [ebp + 0x1a0]
mov dword [ebp + 0x13c], eax
jmp 0x485f4e
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x80]
test al, al
je case.default.0x485ea9
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.004820e5
add esp, 0xc
test eax, eax
je 0x486141
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x485ea9
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x485ea9
mov cl, byte [eax]
cmp cl, 0x28
je 0x486314
cmp cl, 0x4e
jne 0x486392
cmp byte [eax + 1], 0x4f
jne 0x486392
mov ecx, dword [ebp + 0x19c]
cmp ecx, dword [ebp + 0x198]
jne 0x486335
lea ebx, [ebp + 0x190]
call fcn.00482635
test al, al
je 0x486141
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 0x48636a
lea ebx, [ebp + 0x190]
call fcn.00482635
test al, al
je 0x486141
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 0x4864e2
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x485ea9
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.00484915
add esp, 8
test eax, eax
jne 0x487025
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.004820e5
add esp, 0xc
test eax, eax
je 0x486141
mov eax, dword [ebp + 0x84]
test eax, eax
je case.default.0x485ea9
mov eax, dword [ebp + 0x13c]
test eax, eax
je case.default.0x485ea9
mov cl, byte [eax]
cmp cl, 0x28
je 0x486456
cmp cl, 0x4e
jne 0x4864d4
cmp byte [eax + 1], 0x4f
jne 0x4864d4
mov ecx, dword [ebp + 0x19c]
cmp ecx, dword [ebp + 0x198]
jne 0x486477
lea ebx, [ebp + 0x190]
call fcn.00482635
test al, al
je 0x486141
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 0x4864ac
lea ebx, [ebp + 0x190]
call fcn.00482635
test al, al
je 0x486141
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.004825b5
jmp 0x485f4e
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x485ea9
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.00483f85
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 0x4865c5
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 0x4865c8
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 0x4865c8
mov dword [eax + 0x74], edx
test edi, edi
je 0x485f28
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 0x486629
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.00483465
test eax, eax
mov dword [ebp + 0x134], eax
je 0x486141
mov edx, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], edx
mov byte [esp + 0x24], 0
mov al, byte [ebx + 0x82]
test al, al
jne 0x485f28
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x485f28
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x485f28
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.0x485ea9
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x485ea9
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.00483465
mov edx, dword [ebp + 0x12c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x12c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x486141
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.0x485ea9
jmp 0x485f4e
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x80]
test cl, cl
je case.default.0x485ea9
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x485ea9
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x485ea9
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 0x4867f6
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x485ea9
mov eax, dword [ebp + 0x12c]
test eax, eax
je case.default.0x485ea9
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ebx, edx
lea ecx, [ebx + 0x50]
call fcn.00483465
mov ecx, dword [ebp + 0x12c]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0x12c]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x486141
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x4867c2
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 0x485f4e
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x485ea9
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 0x485f4e
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 0x486833
mov dword [ebp + 0x12c], 0
jmp case.default.0x485ea9
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0x80]
test al, al
je 0x4868de
mov esi, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0x28]
lea ecx, [ebx + 0x50]
call fcn.00483465
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x486141
push 0x24
push esi
push ebx
call fcn.00482255
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x12c], eax
je 0x486141
cmp dword [eax], esi
je 0x486892
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x5c], eax
mov dword [ebp + 0x12c], edi
jmp case.default.0x485ea9
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 0x4868c2
cmp dword [ebp + 0x11c], edi
jne 0x4868c2
mov eax, 1
jmp 0x4868c4
xor eax, eax
mov ecx, dword [ebp + 0x12c]
mov byte [ecx + 0x22], al
cmp dword [ebp + 0x88], edi
je case.default.0x485ea9
jmp 0x485f4e
mov edx, dword [ebx + 0x60]
mov dword [ebx + 0x5c], edx
mov dword [ebp + 0x12c], 0
jmp case.default.0x485ea9
mov ecx, dword [ebp + 0x60]
xor eax, eax
cmp ecx, eax
mov dword [ebp + 0x144], eax
mov dword [ebp + 0x140], eax
je case.default.0x485ea9
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea ecx, [ebp + 0x190]
call fcn.00483465
test eax, eax
mov dword [ebp + 0x140], eax
je 0x486141
mov eax, dword [ebp + 0x19c]
mov dword [ebp + 0x1a0], eax
jmp 0x485f4e
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 0x486f9f
mov eax, dword [ebp + 0x140]
test eax, eax
je case.default.0x485ea9
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.00483465
mov esi, eax
test esi, esi
je 0x486141
call fcn.004821b5
mov edx, dword [ebp + 0x19c]
mov dword [ebp + 0x144], esi
mov dword [ebp + 0x1a0], edx
jmp 0x485f4e
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x486a3e
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x486a3e
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.00483465
test eax, eax
je 0x486141
mov ecx, dword [esp + 0x14]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x144]
push edx
push eax
jmp 0x486a21
mov eax, dword [ebp + 0x144]
test eax, eax
je 0x486a3e
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x486a3e
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.004825b5
jmp 0x485f28
mov eax, dword [ebp + 0x1c4]
cmp dword [ebp + 0x100], eax
jb 0x486ad3
test eax, eax
je 0x486ab3
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 0x486141
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1c0], eax
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x486ad7
mov ecx, dword [ebp + 0x1c4]
shl ecx, 2
push ecx
push eax
call dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x486141
mov dword [esi + 0xa4], eax
jmp 0x486ad7
push 0x20
mov dword [ebp + 0x1c4], 0x20
call dword [ebp + 0xc]
add esp, 4
test eax, eax
mov dword [ebp + 0x1c0], eax
je 0x486141
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.0x485ea9
mov eax, ebp
call fcn.00482795
test eax, eax
jl 0x486141
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.0x485ea9
jmp 0x485f4e
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x100]
mov cl, byte [eax + edx]
add eax, edx
cmp cl, 0x7c
je 0x486fff
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x2c
mov al, byte [ecx + 0x8c]
test al, al
je case.default.0x485ea9
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
mov edx, dword [ebp + 0x1c0]
mov eax, dword [ebp + 0x100]
mov al, byte [edx + eax]
cmp al, 0x2c
je 0x486fff
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + 0x8c]
test dl, dl
je 0x486be3
test al, al
jne 0x486be3
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 0x486be3
mov dword [eax], 5
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x486be3
mov byte [esp + 0x24], 0
mov ecx, dword [ebp + 0x1c0]
mov edx, dword [ebp + 0x100]
mov byte [ecx + edx], 0x7c
jmp 0x485f28
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x82]
test cl, cl
jne case.default.0x485ea9
mov eax, dword [ebp + 0x6c]
test eax, eax
je case.default.0x485ea9
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x486653
jmp case.default.0x485ea9
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x485ea9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x38]
push ebp
call fcn.004834a5
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [ebp + 0x148], eax
je 0x486141
mov eax, dword [esp + 0x10]
mov dword [eax + 0xa0], ecx
mov dword [eax + 0x9c], ecx
mov byte [eax + 0x8c], 1
jmp 0x485f4e
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x485ea9
mov eax, dword [ebp + 0x80]
xor esi, esi
cmp eax, esi
je 0x486ce6
push 0x14
call dword [ebp + 0xc]
add esp, 4
cmp eax, esi
je 0x486141
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 0x485f28
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x485ea9
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.0x485ea9
jmp 0x485f4e
xor edi, edi
jmp 0x486d52
mov edi, 1
jmp 0x486d52
mov edi, 2
jmp 0x486d52
mov edi, 3
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x8c]
test cl, cl
je case.default.0x485ea9
test edi, edi
jne 0x486d72
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
jmp 0x486d81
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.00482795
test eax, eax
jl 0x486141
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.004834a5
add esp, 8
test eax, eax
je 0x486141
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 0x486ddc
add dword [ebx + 0x94], ecx
mov eax, dword [ebp + 0x80]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
xor ecx, ecx
jmp 0x486e14
mov ecx, 1
jmp 0x486e14
mov ecx, 2
jmp 0x486e14
mov ecx, 3
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0x8c]
test dl, dl
je case.default.0x485ea9
mov eax, dword [ebp + 0x80]
test eax, eax
je 0x486e35
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 0x485f28
mov cl, byte [esp + 0x24]
test cl, cl
jne 0x486ea6
mov ebx, ebp
call fcn.00482995
test eax, eax
je 0x486141
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 0x485f28
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ebp
call fcn.004841a5
add esp, 0xc
test eax, eax
je 0x486141
jmp 0x485f4e
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.00484275
add esp, 4
test eax, eax
je 0x486141
jmp 0x485f4e
cmp esi, 0xe
jne case.default.0x485ea9
jmp 0x485f4e
mov eax, dword [ebp + 0x54]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x80]
test al, al
je case.default.0x485ea9
mov eax, dword [ebp + 0x88]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
mov eax, dword [ebp + 0x60]
test eax, eax
je case.default.0x485ea9
jmp 0x485f4e
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.00485da5
call fcn.00485da5
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, 0xc
je 0x486ff2
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