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

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x164]
push esi
push edi
mov dword [esp + 0x10], eax
cmp ecx, dword [ebp + 0x90]
jne 0x417c53
lea edx, [ebp + 0x124]
lea ecx, [ebp + 0x120]
mov dword [esp + 0x14], edx
jmp 0x417c60
mov ecx, dword [ebp + 0x12c]
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov dword [ecx], edi
mov edx, dword [esp + 0x34]
xor ebx, ebx
mov byte [esp + 0x20], 1
mov dword [eax], edx
cmp esi, ebx
jg 0x417cb5
cmp byte [esp + 0x3c], bl
je 0x417c95
cmp esi, ebx
jne 0x41913e
lea eax, [esi + 0xf]
cmp eax, 0xf
ja case.0x417ca4.14
movzx edx, byte [eax + 0x419388]
jmp dword [edx*4 + 0x419370]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
neg esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
push ecx
push edx
push edi
lea eax, [ebp + 0x100]
push esi
push eax
mov eax, dword [eax]
call eax
mov dword [esp + 0x44], eax
inc eax
add esp, 0x14
cmp eax, 0x3d
ja case.default.0x417cdd
jmp dword [eax*4 + 0x419398]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push ecx
push edx
xor eax, eax
mov ecx, ebp
call fcn.00414830
add esp, 8
cmp eax, ebx
jne 0x419367
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x24], eax
jmp 0x4190fe
cmp dword [ebp + 0x54], ebx
je 0x417d55
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
lea ecx, [ebp + 0x1a0]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00414430
add esp, 4
mov dword [ebp + 0x140], eax
cmp eax, ebx
je 0x418046
mov edx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], edx
mov dword [ebp + 0x148], ebx
mov byte [esp + 0x20], bl
mov dword [ebp + 0x144], ebx
jmp 0x417ef3
mov eax, dword [ebp + 0x54]
cmp eax, ebx
je case.default.0x417cdd
mov ecx, dword [ebp + 0x148]
mov edx, dword [ebp + 0x144]
push 1
push ecx
mov ecx, dword [ebp + 0x140]
push edx
mov edx, dword [ebp + 4]
push ecx
push edx
call eax
add esp, 0x14
lea ecx, [ebp + 0x1a0]
mov dword [ebp + 0x140], ebx
call fcn.00412aa0
jmp 0x4190fe
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov eax, 1
mov ecx, ebp
call fcn.00414830
add esp, 8
cmp eax, ebx
jne 0x419367
mov edx, dword [ebp + 0x90]
mov dword [esp + 0x24], edx
jmp 0x4190fe
mov esi, dword [esp + 0x10]
push 0x24
push 0x42a3e8
lea edi, [esi + 0x84]
push ebp
mov byte [ebp + 0x1e9], bl
call fcn.004126c0
add esp, 0xc
mov dword [ebp + 0x13c], eax
cmp eax, ebx
je 0x418046
mov byte [esi + 0x81], 1
cmp dword [ebp + 0x54], ebx
je case.0x417cdd.14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0x38]
push eax
push ecx
push edi
push esi
call edx
add esp, 0x10
test eax, eax
je 0x4191ee
mov ecx, dword [esi + 0x44]
mov eax, dword [esp + 0x34]
lea edx, [ebp + 0x1a0]
sub eax, ecx
push edx
add ecx, edi
mov edx, esi
call fcn.00414430
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x418046
call fcn.004125f0
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], eax
mov dword [ebp + 0x148], edi
mov byte [esp + 0x20], bl
jmp 0x417e96
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x38]
push edx
push eax
push esi
call ecx
add esp, 0x10
test eax, eax
je 0x4191ee
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x80], bl
je 0x417ef3
cmp dword [ebp + 0x13c], ebx
je 0x417ef3
mov ecx, dword [esi + 0x44]
mov eax, dword [esp + 0x34]
add edx, 0x50
sub eax, ecx
add ecx, dword [esp + 0x28]
push edx
mov edx, esi
call fcn.00414430
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x418046
call fcn.004125f0
mov edx, dword [ebp + 0x13c]
mov eax, dword [esp + 0x10]
mov dword [edx + 0x18], edi
mov ecx, dword [eax + 0x5c]
mov dword [eax + 0x60], ecx
cmp dword [ebp + 0x88], ebx
jne 0x4190fe
cmp byte [esp + 0x20], bl
je 0x4190fe
jmp case.default.0x417cdd
mov eax, dword [ebp + 0x140]
cmp eax, ebx
je 0x417f37
mov edx, dword [ebp + 0x148]
mov ecx, dword [ebp + 0x144]
push ebx
push edx
mov edx, dword [ebp + 4]
push ecx
push eax
mov eax, dword [ebp + 0x54]
push edx
call eax
add esp, 0x14
lea ecx, [ebp + 0x1a0]
call fcn.00412aa0
mov byte [esp + 0x20], bl
cmp dword [ebp + 0x144], ebx
jne 0x417f4b
cmp byte [ebp + 0x1e9], bl
je 0x41800d
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 0x81]
mov byte [esi + 0x81], 1
mov byte [esp + 0x30], cl
cmp dword [ebp + 0x1ec], ebx
je 0x418007
cmp dword [ebp + 0x70], ebx
je 0x418007
push 0x24
push 0x42a3e8
lea edi, [esi + 0x84]
push ebp
call fcn.004126c0
add esp, 0xc
cmp eax, ebx
je 0x418046
cmp byte [ebp + 0x1e9], bl
je 0x417fa4
mov edx, dword [ebp + 0x168]
mov dword [eax + 0x14], edx
mov byte [esi + 0x83], bl
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
mov edx, dword [ebp + 0x70]
push eax
push ebx
push ecx
call edx
add esp, 0x14
test eax, eax
je 0x4191fb
cmp byte [esi + 0x83], bl
je 0x417ff5
cmp byte [esi + 0x82], bl
jne 0x418007
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x418007
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x4192b0
jmp 0x418007
cmp dword [ebp + 0x144], ebx
jne 0x418007
mov dl, byte [esp + 0x30]
mov byte [esi + 0x81], dl
mov byte [ebp + 0x1e9], bl
mov eax, dword [ebp + 0x58]
cmp eax, ebx
je 0x417ef3
mov ecx, dword [ebp + 4]
push ecx
call eax
jmp 0x4190fb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebp
call fcn.00414470
add esp, 4
mov dword [ebp + 0x158], eax
cmp eax, ebx
jne 0x4180f0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push ebp
call fcn.004154d0
add esp, 0x10
mov dword [ebp + 0x15c], eax
cmp eax, ebx
je 0x418046
mov dword [ebp + 0x14c], ebx
mov word [ebp + 0x160], bx
jmp 0x4180f0
mov byte [ebp + 0x160], 1
mov dword [ebp + 0x14c], 0x42a3ec
jmp 0x4180f0
mov byte [ebp + 0x161], 1
mov dword [ebp + 0x14c], 0x42a3f8
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a400
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a40c
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a41c
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a42c
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a440
jmp 0x4180f0
mov dword [ebp + 0x14c], 0x42a450
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x80], bl
je case.default.0x417cdd
cmp dword [ebp + 0x84], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
je case.default.0x417cdd
cmp dword [ebp + 0x84], ebx
je case.default.0x417cdd
cmp dword [ebp + 0x14c], ebx
je 0x41813c
mov eax, 0x42a478
jmp 0x41814d
cmp dword [esp + 0x30], 0x20
mov eax, str.NOTATION_
je 0x41814d
mov eax, 0x42a47c
lea esi, [ebp + 0x1a0]
push eax
call fcn.00414290
add esp, 4
test eax, eax
je 0x418046
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov eax, esi
call fcn.00413d60
add esp, 0xc
test eax, eax
je 0x418046
mov ecx, dword [ebp + 0x1b0]
mov dword [ebp + 0x14c], ecx
jmp 0x4190fe
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x80], bl
je case.default.0x417cdd
movzx eax, byte [ebp + 0x160]
mov ecx, dword [ebp + 0x15c]
mov dl, byte [ebp + 0x161]
mov esi, dword [ebp + 0x158]
push ebx
push eax
push ecx
mov ebx, ebp
call fcn.00412520
add esp, 0xc
test eax, eax
je 0x418046
cmp dword [ebp + 0x84], 0
je 0x4190e0
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x4190e0
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x41820b
cmp ecx, 0x4e
jne 0x41828f
cmp word [eax + 2], 0x4f
jne 0x41828f
mov edx, dword [ebp + 0x1ac]
cmp edx, dword [ebp + 0x1a8]
jne 0x41822c
lea esi, [ebp + 0x1a0]
call fcn.00412b20
test al, al
je 0x418046
mov eax, dword [ebp + 0x1ac]
mov ecx, 0x29
mov word [eax], cx
mov edi, 2
add dword [ebp + 0x1ac], edi
mov eax, dword [ebp + 0x1ac]
cmp eax, dword [ebp + 0x1a8]
jne 0x418266
lea esi, [ebp + 0x1a0]
call fcn.00412b20
test al, al
je 0x418046
mov edx, dword [ebp + 0x1ac]
xor eax, eax
mov word [edx], ax
add dword [ebp + 0x1ac], edi
mov ecx, dword [ebp + 0x1b0]
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x14c], ecx
mov dword [ebp + 0x1b0], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp dword [esp + 0x30], 0x24
mov dword [eax], edx
sete cl
push ecx
push 0
mov edx, dword [ebp + 0x14c]
mov eax, dword [ebp + 0x15c]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0x158]
mov eax, dword [edx]
mov edx, dword [ebp + 0x84]
push ecx
mov ecx, dword [ebp + 4]
push eax
push ecx
call edx
add esp, 0x18
lea ecx, [ebp + 0x1a0]
call fcn.00412aa0
jmp 0x4190fe
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
je case.default.0x417cdd
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov edi, dword [esp + 0x28]
mov bl, byte [ebp + 0x160]
mov esi, eax
lea eax, [esi + 0x50]
push eax
mov eax, dword [esp + 0x38]
push edx
sub eax, ecx
add ecx, edi
push ebp
call fcn.00415fd0
add esp, 0xc
test eax, eax
jne 0x419367
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x60], ecx
movzx edx, byte [ebp + 0x160]
mov esi, dword [ebp + 0x158]
push eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x15c]
push edx
push eax
mov ebx, ebp
xor dl, dl
call fcn.00412520
add esp, 0xc
test eax, eax
je 0x418046
cmp dword [ebp + 0x84], 0
je 0x4190e0
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x4190e0
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x41838d
cmp ecx, 0x4e
jne 0x418411
cmp word [eax + 2], 0x4f
jne 0x418411
mov ecx, dword [ebp + 0x1ac]
cmp ecx, dword [ebp + 0x1a8]
jne 0x4183ae
lea esi, [ebp + 0x1a0]
call fcn.00412b20
test al, al
je 0x418046
mov edx, dword [ebp + 0x1ac]
mov eax, 0x29
mov word [edx], ax
mov ebx, 2
add dword [ebp + 0x1ac], ebx
mov eax, dword [ebp + 0x1ac]
cmp eax, dword [ebp + 0x1a8]
jne 0x4183e8
lea esi, [ebp + 0x1a0]
call fcn.00412b20
test al, al
je 0x418046
mov ecx, dword [ebp + 0x1ac]
xor edx, edx
mov word [ecx], dx
add dword [ebp + 0x1ac], ebx
mov ecx, dword [ebp + 0x1b0]
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x14c], ecx
mov dword [ebp + 0x1b0], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x30], 0x26
mov dword [edx], edi
sete al
push eax
push ecx
jmp 0x4182a6
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
je case.default.0x417cdd
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
sub edx, eax
push edx
add eax, esi
push eax
push ecx
push ebp
call fcn.00414ea0
mov ecx, dword [ebp + 0x13c]
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 0x10]
cmp ecx, ebx
je 0x4184cb
mov edx, dword [eax + 0x78]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 0x74]
sub ecx, dword [eax + 0x78]
mov edx, dword [ebp + 0x13c]
sar ecx, 1
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x74]
mov dword [eax + 0x78], ecx
cmp dword [ebp + 0x88], ebx
je 0x4184d1
mov edx, dword [esp + 0x14]
push ebx
mov dword [edx], esi
mov eax, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x168]
mov edx, dword [eax + 8]
push ebx
push ebx
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
mov edx, dword [ebp + 0x88]
push eax
push ecx
call edx
add esp, 0x24
mov byte [esp + 0x20], bl
jmp 0x4184d1
mov ecx, dword [eax + 0x78]
mov dword [eax + 0x74], ecx
cmp edi, ebx
je 0x417ef3
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x10]
mov byte [ebp + 0x1e9], bl
mov byte [esi + 0x81], 1
cmp dword [ebp + 0x54], ebx
je 0x418539
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov eax, dword [esp + 0x34]
sub eax, ecx
add ecx, dword [esp + 0x28]
lea edi, [ebp + 0x1a0]
push edi
call fcn.00414430
add esp, 4
mov dword [ebp + 0x144], eax
cmp eax, ebx
je 0x418046
mov edx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], edx
mov byte [esp + 0x20], bl
jmp 0x418543
mov dword [ebp + 0x144], 0x42a3e8
cmp byte [esi + 0x82], bl
jne 0x41856b
cmp dword [ebp + 0x1ec], ebx
jne 0x41856b
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x41856b
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
je 0x4192b0
cmp dword [ebp + 0x13c], ebx
jne 0x4185a0
push 0x24
push 0x42a3e8
lea edi, [esi + 0x84]
push ebp
call fcn.004126c0
add esp, 0xc
mov dword [ebp + 0x13c], eax
cmp eax, ebx
je 0x418046
mov dword [eax + 0x18], ebx
jmp 0x4185a0
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x80], bl
je 0x417ef3
cmp dword [ebp + 0x13c], ebx
je 0x417ef3
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov eax, dword [esp + 0x34]
sub eax, ecx
add ecx, dword [esp + 0x28]
lea edi, [esi + 0x50]
push edi
call fcn.00414430
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x13c]
add esp, 4
cmp dword [eax + 0x10], ebx
je 0x418046
mov ecx, dword [ebp + 0x168]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x60], edx
jmp 0x417ee7
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
je case.default.0x417cdd
cmp dword [ebp + 0x13c], ebx
je case.default.0x417cdd
cmp dword [ebp + 0x88], ebx
je case.default.0x417cdd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x13c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push ebx
push ecx
mov ecx, dword [eax + 0x14]
push edx
movzx edx, byte [eax + 0x21]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 4]
push ebx
push ebx
push edx
mov edx, dword [ebp + 0x88]
push eax
push ecx
call edx
add esp, 0x24
jmp 0x4190fe
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
je case.default.0x417cdd
cmp dword [ebp + 0x13c], ebx
je case.default.0x417cdd
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x50]
push ecx
mov ecx, edi
call fcn.00414430
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0x13c]
add esp, 4
cmp dword [eax + 0x1c], ebx
je 0x418046
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x60], ecx
cmp dword [ebp + 0x5c], ebx
je 0x4186ef
mov edx, dword [esp + 0x14]
mov dword [edx], edi
mov eax, dword [ebp + 0x13c]
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
mov edx, dword [ebp + 0x5c]
push eax
push ecx
call edx
add esp, 0x18
jmp 0x4190fe
cmp dword [ebp + 0x88], ebx
je case.default.0x417cdd
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x13c]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 0x88]
push ebx
push ebx
push ebx
push edx
push eax
call ecx
add esp, 0x24
jmp 0x4190fe
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x30]
push edx
push eax
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x41875b
mov dword [ebp + 0x13c], ebx
jmp case.default.0x417cdd
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x80], bl
je 0x418805
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
lea edx, [edi + 0x50]
push edx
mov edx, esi
call fcn.00414430
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x418046
push 0x24
push esi
push ebp
call fcn.004126c0
add esp, 0xc
mov dword [ebp + 0x13c], eax
cmp eax, ebx
je 0x418046
cmp dword [eax], esi
je 0x4187ba
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [ebp + 0x13c], ebx
jmp case.default.0x417cdd
mov ecx, dword [edi + 0x5c]
mov dword [edi + 0x60], ecx
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x18], ebx
mov eax, dword [ebp + 0x13c]
mov byte [eax + 0x21], bl
cmp dword [ebp + 0x1dc], ebx
jne 0x4187e9
cmp dword [ebp + 0x12c], ebx
jne 0x4187e9
mov eax, 1
jmp 0x4187eb
xor eax, eax
mov ecx, dword [ebp + 0x13c]
mov byte [ecx + 0x22], al
cmp dword [ebp + 0x88], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov edx, dword [edi + 0x60]
mov dword [edi + 0x5c], edx
mov dword [ebp + 0x13c], ebx
jmp case.default.0x417cdd
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x80], bl
je 0x41889f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esi + 0x50]
push eax
mov eax, dword [esp + 0x38]
call fcn.00414430
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x418046
push 0x24
mov ecx, eax
push ecx
lea edi, [esi + 0x84]
push ebp
call fcn.004126c0
add esp, 0xc
mov dword [ebp + 0x13c], eax
cmp eax, ebx
je 0x418046
mov edx, dword [esp + 0x20]
cmp dword [eax], edx
je 0x418881
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], eax
mov dword [ebp + 0x13c], ebx
jmp case.default.0x417cdd
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x60], ecx
mov edx, dword [ebp + 0x13c]
mov dword [edx + 0x18], ebx
mov eax, dword [ebp + 0x13c]
mov byte [eax + 0x21], 1
jmp 0x4187d2
mov edx, dword [esi + 0x60]
mov dword [esi + 0x5c], edx
mov dword [ebp + 0x13c], ebx
jmp case.default.0x417cdd
mov dword [ebp + 0x154], ebx
mov dword [ebp + 0x150], ebx
cmp dword [ebp + 0x60], ebx
je case.default.0x417cdd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [ebp + 0x1a0]
push eax
mov eax, dword [esp + 0x38]
call fcn.00414430
add esp, 4
mov dword [ebp + 0x150], eax
cmp eax, ebx
je 0x418046
mov ecx, dword [ebp + 0x1ac]
mov dword [ebp + 0x1b0], ecx
jmp 0x4190fe
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x38]
push ecx
push eax
call edx
add esp, 0x10
test eax, eax
je 0x4191ee
cmp dword [ebp + 0x150], ebx
je case.default.0x417cdd
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov eax, dword [esp + 0x34]
sub eax, ecx
add ecx, dword [esp + 0x28]
lea esi, [ebp + 0x1a0]
push esi
call fcn.00414430
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x418046
call fcn.004125f0
mov eax, dword [ebp + 0x1ac]
mov dword [ebp + 0x154], edi
mov dword [ebp + 0x1b0], eax
jmp 0x4190fe
cmp dword [ebp + 0x150], ebx
je 0x4189d8
cmp dword [ebp + 0x60], ebx
je 0x4189d8
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
sub eax, ecx
lea edi, [ebp + 0x1a0]
add ecx, esi
push edi
call fcn.00414430
add esp, 4
cmp eax, ebx
je 0x418046
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov edx, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x150]
push edx
mov edx, dword [ebp + 4]
push eax
mov eax, dword [ebp + 0x168]
push eax
mov eax, dword [ebp + 0x60]
push ecx
push edx
call eax
add esp, 0x14
mov byte [esp + 0x20], bl
lea ecx, [ebp + 0x1a0]
call fcn.00412aa0
jmp 0x417ef3
cmp dword [ebp + 0x154], ebx
je 0x4189d8
cmp dword [ebp + 0x60], ebx
je 0x4189d8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x154]
mov ecx, dword [ebp + 0x168]
mov edx, dword [ebp + 0x150]
push eax
mov eax, dword [ebp + 4]
push ebx
push ecx
mov ecx, dword [ebp + 0x60]
push edx
push eax
call ecx
jmp 0x4189d1
cmp dword [ebp + 0x50], ebx
je 0x418a3e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
push edx
mov esi, ebp
call fcn.00412470
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
push ebp
call fcn.00413240
add esp, 0x14
cmp eax, ebx
jne 0x419367
cmp dword [esp + 0x34], ebx
jne 0x4190fe
pop edi
pop esi
mov dword [ebp + 0x118], 0x4147d0
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x1d4]
cmp dword [ebp + 0x104], eax
jb 0x418b11
cmp eax, ebx
je 0x418aef
mov ecx, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x10]
add eax, eax
push eax
push ecx
mov dword [ebp + 0x1d4], eax
call edx
add esp, 8
cmp eax, ebx
je 0x418046
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x1d0], eax
mov eax, dword [esi + 0xb8]
cmp eax, ebx
je 0x418b15
mov ecx, dword [ebp + 0x1d4]
mov edx, dword [ebp + 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push eax
call edx
add esp, 8
cmp eax, ebx
je 0x418046
mov dword [esi + 0xb8], eax
jmp 0x418b15
mov eax, dword [ebp + 0xc]
push 0x20
mov dword [ebp + 0x1d4], 0x20
call eax
add esp, 4
mov dword [ebp + 0x1d0], eax
cmp eax, ebx
je 0x418046
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x104]
mov byte [ecx + edx], bl
cmp byte [esi + 0xa0], bl
je case.default.0x417cdd
mov eax, ebp
call fcn.00412c90
cmp eax, ebx
jl 0x418046
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xb4]
mov esi, dword [ecx + 0xb8]
mov dword [esi + edx*4], eax
inc dword [ecx + 0xb4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xa4]
mov dword [eax + edx*4], 6
cmp dword [ebp + 0x80], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov eax, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x104]
cmp byte [eax + edx], 0x7c
je 0x41931a
mov byte [eax + edx], 0x2c
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xa0], bl
je case.default.0x417cdd
cmp dword [ebp + 0x80], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov ecx, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x104]
mov al, byte [ecx + edx]
cmp al, 0x2c
je 0x41931a
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xa0], bl
je 0x418c1b
cmp al, bl
jne 0x418c1b
mov edx, dword [ecx + 0xb8]
mov eax, dword [ecx + 0xb4]
mov eax, dword [edx + eax*4 - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xa4]
cmp dword [eax + edx*4], 3
lea eax, [eax + edx*4]
je 0x418c1b
mov dword [eax], 5
cmp dword [ebp + 0x80], ebx
je 0x418c1b
mov byte [esp + 0x20], bl
mov ecx, dword [ebp + 0x1d0]
mov edx, dword [ebp + 0x104]
mov byte [ecx + edx], 0x7c
jmp 0x417ef3
mov esi, dword [esp + 0x10]
mov byte [esi + 0x81], 1
cmp dword [ebp + 0x1ec], ebx
jne 0x418c7c
mov al, byte [esi + 0x82]
mov byte [esi + 0x80], al
cmp byte [esi + 0x82], bl
jne 0x417ef3
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x417ef3
mov edx, dword [ebp + 4]
push edx
call eax
add esp, 4
test eax, eax
je 0x4192b0
jmp 0x417ef3
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x44]
mov eax, dword [esp + 0x34]
sub eax, ecx
add ecx, dword [esp + 0x28]
lea edi, [esi + 0x50]
push edi
call fcn.00414430
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x418046
push ebx
mov ecx, eax
push ecx
lea edi, [esi + 0x84]
push ebp
call fcn.004126c0
mov edx, dword [esi + 0x60]
add esp, 0xc
mov dword [esi + 0x5c], edx
mov edi, eax
cmp dword [ebp + 0x110], ebx
je 0x418d2a
xor eax, eax
cmp byte [esi + 0x82], bl
je 0x418cda
cmp dword [ebp + 0x12c], ebx
jmp 0x418ce0
cmp byte [esi + 0x81], bl
sete al
cmp eax, ebx
je 0x418d2a
cmp edi, ebx
je 0x419327
cmp byte [edi + 0x22], bl
je 0x419334
cmp byte [edi + 0x20], bl
jne 0x419341
cmp dword [edi + 4], ebx
je 0x418d65
cmp dword [esp + 0x30], 0x3c
mov esi, ebp
sete al
movzx ecx, al
push ecx
push edi
call fcn.004122d0
add esp, 8
cmp eax, ebx
jne 0x419367
jmp 0x4190fe
cmp edi, ebx
jne 0x418cf8
cmp dword [esp + 0x30], 0x3c
mov al, byte [esi + 0x82]
mov byte [esi + 0x80], al
jne case.default.0x417cdd
mov eax, dword [ebp + 0x78]
cmp eax, ebx
je case.default.0x417cdd
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 4]
push 1
push ecx
push edx
call eax
add esp, 0xc
jmp 0x4190fe
cmp dword [ebp + 0x70], ebx
je 0x418db9
mov byte [esi + 0x83], bl
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
mov byte [edi + 0x20], 1
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
push ebx
push edx
call eax
add esp, 0x14
mov byte [edi + 0x20], bl
test eax, eax
je 0x4191fb
mov byte [esp + 0x20], bl
cmp byte [esi + 0x83], bl
jne 0x418c4f
mov cl, byte [esi + 0x82]
mov byte [esi + 0x80], cl
jmp 0x4190fe
mov al, byte [esi + 0x82]
mov byte [esi + 0x80], al
jmp case.default.0x417cdd
cmp dword [ebp + 0x80], ebx
je case.default.0x417cdd
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebp
call fcn.00414470
add esp, 4
mov dword [ebp + 0x158], eax
cmp eax, ebx
je 0x418046
mov eax, dword [esp + 0x10]
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb0], ebx
mov byte [eax + 0xa0], 1
jmp 0x4190fe
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xa0], bl
je case.default.0x417cdd
cmp dword [ebp + 0x80], ebx
je 0x418e7f
mov edx, dword [ebp + 0xc]
push 0x14
call edx
add esp, 4
cmp eax, ebx
je 0x418046
mov edx, dword [esp + 0x28]
xor ecx, ecx
cmp dword [esp + 0x30], 0x29
mov dword [eax + 4], ebx
sete cl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
push eax
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [ebp + 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x80]
push eax
push ecx
call edx
add esp, 0xc
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x10]
mov byte [eax + 0xa0], bl
jmp 0x417ef3
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xa0], bl
je case.default.0x417cdd
mov edx, dword [ecx + 0xb4]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + edx*4 - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xa4]
mov dword [eax + edx*4], 3
cmp dword [ebp + 0x80], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov dword [esp + 0x20], ebx
jmp 0x418ef7
mov dword [esp + 0x20], 1
jmp 0x418ef7
mov dword [esp + 0x20], 2
jmp 0x418ef7
mov dword [esp + 0x20], 3
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0xa0], bl
je case.default.0x417cdd
cmp dword [esp + 0x20], ebx
jne 0x418f17
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
jmp 0x418f26
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
sub eax, dword [ecx + 0x44]
mov dword [esp + 0x30], eax
mov eax, ebp
call fcn.00412c90
cmp eax, ebx
jl 0x418046
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0xa4]
mov ecx, dword [esp + 0x20]
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
mov dword [esi + edx], 4
mov eax, dword [edi + 0xa4]
mov edx, dword [esp + 0x24]
mov dword [esi + eax + 4], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.00414470
add esp, 4
cmp eax, ebx
je 0x418046
mov eax, dword [eax]
mov edx, dword [edi + 0xa4]
mov dword [esi + edx + 8], eax
xor ecx, ecx
lea esp, [esp]
mov dx, word [eax + ecx*2]
inc ecx
test dx, dx
jne 0x418f90
add dword [edi + 0xa8], ecx
cmp dword [ebp + 0x80], ebx
je case.default.0x417cdd
jmp 0x4190fe
xor edx, edx
jmp 0x418fc8
mov edx, 1
jmp 0x418fc8
mov edx, 2
jmp 0x418fc8
mov edx, 3
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xa0], bl
je case.default.0x417cdd
cmp dword [ebp + 0x80], ebx
je 0x418fe4
mov byte [esp + 0x20], bl
dec dword [eax + 0xb4]
mov esi, dword [eax + 0xb8]
mov ecx, dword [eax + 0xb4]
mov ecx, dword [esi + ecx*4]
lea esi, [ecx*8]
sub esi, ecx
mov ecx, dword [eax + 0xa4]
mov dword [ecx + esi*4 + 4], edx
cmp dword [eax + 0xb4], ebx
jne 0x417ef3
cmp byte [esp + 0x20], bl
jne 0x419056
mov ebx, ebp
call fcn.00412ec0
test eax, eax
je 0x418046
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [ebp + 0x158]
mov ecx, dword [ebp + 4]
push eax
mov eax, dword [edx]
mov edx, dword [ebp + 0x80]
push eax
push ecx
call edx
mov eax, dword [esp + 0x1c]
add esp, 0xc
xor ebx, ebx
mov byte [eax + 0xa0], bl
mov dword [eax + 0xa8], ebx
jmp 0x417ef3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov edi, ebp
call fcn.00415310
add esp, 8
test eax, eax
je 0x418046
jmp 0x4190fe
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, ebp
call fcn.00415430
test eax, eax
je 0x418046
jmp 0x4190fe
cmp esi, 0xe
jne case.default.0x417cdd
jmp 0x4190fe
cmp dword [ebp + 0x54], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x80], bl
je case.default.0x417cdd
cmp dword [ebp + 0x88], ebx
je case.default.0x417cdd
jmp 0x4190fe
cmp dword [ebp + 0x60], ebx
je case.default.0x417cdd
jmp 0x4190fe
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x80], bl
jmp 0x4180fa
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
je 0x4190fe
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
push ecx
mov esi, ebp
call fcn.00412470
add esp, 4
mov eax, dword [ebp + 0x1e0]
sub eax, 2
je 0x419362
dec eax
je 0x41934e
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push edi
push eax
mov dword [esp + 0x38], edi
call ecx
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov esi, eax
jmp 0x417c70
mov edx, dword [esp + 0x38]
mov dword [edx], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 4
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp + 0x90]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4191a4
mov edx, dword [ebp + 0x12c]
cmp byte [edx + 0x14], bl
jne 0x4191a4
mov eax, dword [esp + 0x38]
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp byte [ebp + 0x1e8], bl
jne 0x4191bd
cmp ecx, eax
jne 0x4191bd
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x100]
push ecx
push eax
push eax
add ebp, 0x100
push 0xfffffffffffffffc
push ebp
call edx
add esp, 0x14
cmp eax, 0xffffffff
jne 0x419194
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0xc
ret
cmp byte [ebp + 0x1e9], bl
je 0x4192c7
mov esi, dword [esp + 0x10]
mov cl, byte [esi + 0x81]
mov byte [esi + 0x81], 1
mov byte [esp + 0x24], cl
cmp dword [ebp + 0x1ec], ebx
je 0x4192c7
cmp dword [ebp + 0x70], ebx
je 0x4192c7
push 0x24
push 0x42a3e8
lea edi, [esi + 0x84]
push ebp
call fcn.004126c0
add esp, 0xc
cmp eax, ebx
je 0x418046
mov edx, dword [ebp + 0x168]
mov dword [eax + 0x14], edx
mov byte [esi + 0x83], bl
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp + 0x74]
push edx
mov edx, dword [ebp + 0x70]
push eax
push ebx
push ecx
call edx
add esp, 0x14
test eax, eax
je 0x4191fb
cmp byte [esi + 0x83], bl
je 0x4192bd
cmp byte [esi + 0x82], bl
jne 0x4192c7
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
je 0x4192c7
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x4192c7
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0xc
ret
mov dl, byte [esp + 0x24]
mov byte [esi + 0x81], dl
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push ebp
mov dword [ebp + 0x118], fcn.00417bd0
call fcn.00417bd0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp esi, 0xc
je 0x41930d
xor eax, eax
cmp esi, 0x1c
sete al
pop edi
pop esi
pop ebp
pop ebx
lea eax, [eax*8 + 2]
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret