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

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov dword [esp + 0x3c], edx
mov edi, dword [esi + 0x160]
cmp edx, dword [esi + 0x90]
jne 0x4743ef
lea edx, [esi + 0x11c]
lea eax, [esi + 0x120]
jmp 0x4743f8
mov edx, dword [esi + 0x128]
lea eax, [edx + 4]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x44]
mov dword [edx], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x40], 1
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
test ebx, ebx
jg 0x47445c
cmp byte [esp + 0x24], 0
je 0x474440
test ebx, ebx
jne 0x475d58
lea eax, [ebx + 0xf]
cmp eax, 0xf
ja case.0x47444f.14
movzx eax, byte [eax + 0x475f6c]
jmp dword [eax*4 + 0x475f54]
mov dword [esp + 0x4c], ecx
neg ebx
push edx
push dword [esp + 0x50]
lea eax, [esi + 0xfc]
push ebp
push ebx
push eax
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
cmp eax, 0x3d
ja case.default.0x474483
jmp dword [eax*4 + 0x475f7c]
push dword [esp + 0x4c]
push ebp
push 0
push esi
call fcn.0047a100
add esp, 0x10
test eax, eax
jne 0x475f49
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x3c], ecx
jmp 0x475c8c
cmp dword [esi + 0x54], 0
je 0x47452d
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
lea ebx, [esi + 0x19c]
push ebp
push ecx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475d68
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4744f1
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475d68
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x13c], eax
test eax, eax
je 0x475dd4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
xor al, al
mov dword [esi + 0x144], ecx
mov dword [esi + 0x140], ecx
jmp 0x47553a
mov eax, dword [esp + 0x40]
mov dword [esi + 0x140], 0
jmp 0x47553a
mov eax, dword [esi + 0x54]
test eax, eax
je case.default.0x474483
push 1
push dword [esi + 0x144]
push dword [esi + 0x140]
push dword [esi + 0x13c]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x13c], 0
push eax
call fcn.00479860
add esp, 0x18
jmp 0x475c88
push dword [esp + 0x4c]
push ebp
push 1
jmp 0x474491
push 0x24
push 0x55069c
lea eax, [edi + 0x84]
mov byte [esi + 0x1e5], 0
push eax
push esi
call fcn.00477f00
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x475dd4
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je case.0x474483.14
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x475dad
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x47462d
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x475dd4
push ebx
call fcn.00478420
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x144], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], 0
jmp 0x474689
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x475dad
cmp byte [edi + 0x80], 0
je 0x475536
cmp dword [esi + 0x138], 0
je 0x475536
mov ecx, dword [ebx + 0x40]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4746e3
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x475dd4
push ebx
call fcn.00478420
mov eax, dword [esi + 0x138]
add esp, 4
mov dword [eax + 0x18], ebx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x475536
cmp dword [esp + 0x14], 0xe
jne 0x475536
jmp 0x475c88
cmp byte [esp + 0x58], 1
jne 0x475cd8
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x47476f
push 0
push dword [esi + 0x144]
push dword [esi + 0x140]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x54]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00479860
add esp, 0x18
mov byte [esp + 0x40], 0
cmp dword [esi + 0x140], 0
jne 0x474785
cmp byte [esi + 0x1e5], 0
je 0x474842
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x47483b
cmp dword [esi + 0x70], 0
je 0x47483b
push 0x24
push 0x55069c
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00477f00
mov edx, eax
add esp, 0x10
test edx, edx
je 0x475dd4
cmp byte [esi + 0x1e5], 0
je 0x4747dc
mov eax, dword [esi + 0x164]
mov dword [edx + 0x14], eax
mov byte [edi + 0x83], 0
push dword [edx + 0x18]
mov eax, dword [esi + 0x70]
push dword [edx + 0x10]
push dword [edx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x475ef7
cmp byte [edi + 0x83], 0
je 0x47482c
cmp byte [edi + 0x82], 0
jne 0x47483b
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x47483b
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x475ebe
jmp 0x47483b
cmp dword [esi + 0x140], 0
jne 0x47483b
mov byte [edi + 0x81], bl
mov byte [esi + 0x1e5], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x475536
push dword [esi + 4]
call eax
add esp, 4
jmp 0x475c88
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.004777b0
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x475dd4
jmp case.0x474483.33
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.00477250
add esp, 0x10
mov dword [esi + 0x158], eax
test eax, eax
je 0x475dd4
mov word [esi + 0x15c], 0
mov dword [esi + 0x148], 0
jmp case.0x474483.33
mov byte [esi + 0x15c], 1
mov dword [esi + 0x148], 0x5506a0
jmp case.0x474483.33
mov byte [esi + 0x15d], 1
mov dword [esi + 0x148], 0x5506ac
jmp case.0x474483.33
mov dword [esi + 0x148], 0x5506b4
jmp case.0x474483.33
mov dword [esi + 0x148], 0x5506c0
jmp case.0x474483.33
mov dword [esi + 0x148], 0x5506d0
jmp case.0x474483.33
mov dword [esi + 0x148], 0x5506e0
jmp case.0x474483.33
mov dword [esi + 0x148], 0x5506f4
jmp case.0x474483.33
mov dword [esi + 0x148], 0x550704
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp dword [esi + 0x84], 0
je case.default.0x474483
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp dword [esi + 0x84], 0
je case.default.0x474483
cmp dword [esi + 0x148], 0
je 0x47496b
mov eax, 0x55072c
jmp 0x47497b
cmp ecx, 0x20
mov eax, str.NOTATION_
mov ecx, 0x550730
cmovne eax, ecx
push eax
lea ebx, [esi + 0x19c]
push ebx
call fcn.00479630
add esp, 8
test eax, eax
je 0x475dd4
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x148], eax
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp byte [esi + 0x15d], 0
mov cl, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov byte [esp + 0x38], cl
je 0x474a16
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x474a07
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x474aa1
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x4749f7
cmp dword [ebp + 8], 0
jne 0x474a16
cmp byte [ebx + 9], 0
jne 0x474a16
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x474a7a
test eax, eax
jne 0x474a4e
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x474a7a
pop edi
pop esi
mov dword [ebp + 0x10], 0
mov eax, 1
pop ebp
pop ebx
add esp, 0x24
ret
add eax, eax
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x475dd4
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dl, byte [esp + 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4], ebx
mov dword [eax + ecx*4 + 8], 0
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x474a9e
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x474483
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x474483
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x474ad8
cmp ecx, 0x4e
jne 0x474b5b
cmp word [eax + 2], 0x4f
jne 0x474b5b
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x474afd
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x474b31
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x24
sete al
push eax
mov eax, dword [esi + 0x158]
push 0
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00479860
add esp, 0x1c
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
mov ecx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov dl, byte [esi + 0x15c]
push ebx
mov ecx, dword [ecx + 0x40]
sub eax, ecx
push eax
mov byte [esp + 0x24], dl
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x28]
push dword [esp + 0x4c]
push esi
call fcn.004728d0
add esp, 0x18
test eax, eax
jne 0x475f49
cmp byte [esp + 0x1c], al
jne 0x474c0f
mov ecx, dword [ebx + 0xc]
mov eax, ecx
sub eax, dword [ebx + 0x10]
test eax, 0xfffffffe
je 0x474c0f
cmp word [ecx - 2], 0x20
lea eax, [ecx - 2]
jne 0x474c0f
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x474c28
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x38], al
test ecx, ecx
je 0x474c77
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x474c77
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x474cf4
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x474c67
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x474ccd
test eax, eax
jne 0x474ca1
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
je 0x474a3a
jmp 0x474ccd
add eax, eax
mov dword [esp + 0x28], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x475dd4
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dl, byte [esp + 0x38]
mov dword [eax + ecx*4], ebx
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x474cf1
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x474483
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x474483
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x474d2b
cmp ecx, 0x4e
jne 0x474dae
cmp word [eax + 2], 0x4f
jne 0x474dae
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x474d50
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x474d84
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x26
sete al
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x158]
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00479860
add esp, 0x1c
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push esi
call fcn.0047bcb0
mov ecx, dword [esi + 0x138]
add esp, 0x10
mov ebx, eax
mov eax, dword [edi + 0x78]
test ecx, ecx
je 0x474e91
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x74]
sub ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x138]
sar ecx, 1
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
cmp dword [esi + 0x88], 0
je 0x474e94
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [esi + 0x164]
push dword [ecx + 8]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 4]
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
mov byte [esp + 0x40], 0
jmp 0x474e94
mov dword [edi + 0x74], eax
test ebx, ebx
je 0x475536
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
mov byte [esi + 0x1e5], 0
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je 0x474f2c
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475d7f
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x474efd
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475d7f
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x140], eax
test eax, eax
je 0x475dd4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], cl
jmp 0x474f36
mov dword [esi + 0x140], 0x55069c
cmp byte [edi + 0x82], 0
jne 0x474f5f
cmp dword [esi + 0x1e8], 0
jne 0x474f5f
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x474f5f
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x475ebe
cmp dword [esi + 0x138], 0
jne case.0x474483.13
push 0x24
push 0x55069c
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00477f00
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x475dd4
mov dword [eax + 0x18], 0
cmp byte [edi + 0x80], 0
je 0x475536
cmp dword [esi + 0x138], 0
je 0x475536
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
jne 0x474fd5
xor ecx, ecx
jmp 0x474ffd
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x474fee
push ebx
call fcn.00479d30
add esp, 4
test al, al
jne 0x474fee
xor ecx, ecx
jmp 0x474ffd
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x138]
cmp dword [ecx + 0x10], 0
je 0x475dd4
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x475536
cmp dword [esp + 0x14], 0xd
jne 0x475536
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp dword [esi + 0x138], 0
je case.default.0x474483
cmp dword [esi + 0x88], 0
je case.default.0x474483
mov eax, dword [esp + 0x10]
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [ecx + 0x18]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push 0
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x475c88
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp dword [esi + 0x138], 0
je case.default.0x474483
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
jne 0x4750d5
xor ecx, ecx
jmp 0x4750fd
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4750ee
push ebx
call fcn.00479d30
add esp, 4
test al, al
jne 0x4750ee
xor ecx, ecx
jmp 0x4750fd
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x138]
cmp dword [eax + 0x1c], 0
je 0x475dd4
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x5c], 0
je 0x47514c
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push dword [eax]
mov eax, dword [esi + 0x5c]
push dword [esi + 4]
call eax
add esp, 0x18
jmp 0x475c88
cmp dword [esi + 0x88], 0
je case.default.0x474483
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push 0
push 0
push 0
push dword [eax]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x475c88
push dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [eax + 0x2c]
call eax
add esp, 0xc
test eax, eax
je 0x4751b1
mov dword [esi + 0x138], 0
jmp case.default.0x474483
cmp byte [edi + 0x80], 0
je 0x475290
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4751f5
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x475dd4
push 0x24
push ebx
push edi
push esi
call fcn.00477f00
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x475dd4
cmp dword [eax], ebx
je 0x475244
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
mov ebx, dword [esp + 0x48]
jmp 0x475c73
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 0
cmp dword [esi + 0x1d8], 0
jne 0x475277
cmp dword [esi + 0x128], 0
jne 0x475277
mov cl, 1
jmp 0x475279
xor cl, cl
mov eax, dword [esi + 0x138]
mov byte [eax + 0x22], cl
cmp dword [esi + 0x88], 0
je 0x47523b
jmp 0x475c88
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
jmp case.default.0x474483
cmp byte [edi + 0x80], 0
je 0x475290
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4752e5
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x475dd4
push 0x24
push ebx
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00477f00
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x475dd4
cmp dword [eax], ebx
jne 0x47522b
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 1
cmp dword [esi + 0x1d8], 0
jne 0x475277
cmp dword [esi + 0x128], 0
jne 0x475277
mov cl, 1
jmp 0x475279
cmp dword [esi + 0x60], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x14c], 0
je case.default.0x474483
push dword [esp + 0x4c]
lea ebx, [esi + 0x19c]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475d96
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4753ba
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475d96
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x14c], eax
test eax, eax
je 0x475dd4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
jmp 0x475c88
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x475dad
cmp dword [esi + 0x14c], 0
je case.default.0x474483
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x44]
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x475456
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x475dd4
push ebx
call fcn.00478420
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x150], ebx
mov dword [esi + 0x1ac], eax
jmp 0x475c88
cmp dword [esi + 0x14c], 0
je 0x475527
cmp dword [esi + 0x60], 0
je 0x475527
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4754e7
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x475dd4
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
push dword [esi + 0x150]
push eax
push dword [esi + 0x164]
mov eax, dword [esi + 0x60]
push dword [esi + 0x14c]
push dword [esi + 4]
call eax
add esp, 0x14
mov byte [esp + 0x40], 0
lea eax, [esi + 0x19c]
push eax
call fcn.00479860
add esp, 4
mov eax, dword [esp + 0x40]
test al, al
je 0x475c88
jmp case.default.0x474483
cmp dword [esi + 0x150], 0
je 0x475527
cmp dword [esi + 0x60], 0
je 0x475527
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
push dword [esi + 0x150]
push 0
jmp 0x47550b
cmp dword [esi + 0x50], 0
je 0x47557e
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0047a4c0
add esp, 0x10
push dword [esp + 0x24]
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x50]
mov ebx, dword [esp + 0x48]
push ebp
push ebx
push eax
push dword [esp + 0x4c]
push esi
call fcn.00474270
add esp, 0x18
test eax, eax
jne 0x475f49
cmp dword [esp + 0x4c], eax
je 0x475dba
mov ecx, dword [esp + 0x3c]
jmp 0x475c94
mov eax, dword [esi + 0x1d0]
cmp dword [esi + 0x100], eax
jb 0x47563f
test eax, eax
je 0x47561d
add eax, eax
push eax
push dword [esi + 0x1cc]
mov dword [esi + 0x1d0], eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x475dce
mov dword [esi + 0x1cc], eax
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x47563f
mov eax, dword [esi + 0x1d0]
shl eax, 2
push eax
mov eax, dword [esi + 0x10]
push ecx
call eax
add esp, 8
test eax, eax
je 0x475dd4
mov dword [edi + 0xb8], eax
jmp 0x47563f
mov eax, dword [esi + 0xc]
push 0x20
mov dword [esi + 0x1d0], 0x20
call eax
add esp, 4
mov dword [esi + 0x1cc], eax
test eax, eax
je 0x475de1
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov byte [ecx + eax], 0
cmp byte [edi + 0xa0], 0
je case.default.0x474483
push esi
call fcn.00478280
mov edx, eax
add esp, 4
test edx, edx
js 0x475dd4
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov dword [eax + ecx*4], edx
lea ecx, [edx*8]
mov eax, dword [edi + 0xa4]
sub ecx, edx
inc dword [edi + 0xb4]
mov dword [eax + ecx*4], 6
cmp dword [esi + 0x80], 0
je case.default.0x474483
jmp 0x475c88
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
cmp byte [ecx + eax], 0x7c
je 0x475f19
mov byte [ecx + eax], 0x2c
cmp byte [edi + 0xa0], 0
je case.default.0x474483
cmp dword [esi + 0x80], 0
je case.default.0x474483
jmp 0x475c88
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov al, byte [ecx + eax]
cmp al, 0x2c
je 0x475f19
cmp byte [edi + 0xa0], 0
je 0x47574b
test al, al
jne 0x47574b
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
cmp dword [eax + ecx*4], 3
je 0x47574b
mov dword [eax + ecx*4], 5
xor ecx, ecx
mov eax, dword [esp + 0x40]
cmp dword [esi + 0x80], ecx
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x100]
mov eax, dword [esi + 0x1cc]
mov byte [ecx + eax], 0x7c
jmp 0x475536
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
jne 0x4757a9
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
cmp byte [edi + 0x82], 0
jne 0x475536
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x475536
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x475ebe
jmp 0x475536
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00479400
add esp, 0x10
test eax, eax
je 0x475dd4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x4757e9
push ebx
call fcn.00479d30
add esp, 4
test al, al
je 0x475dd4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x475dd4
push ecx
push ebp
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00477f00
mov ebx, eax
lea ecx, [edi + 0x82]
mov eax, dword [edi + 0x60]
add esp, 0x10
mov dword [edi + 0x5c], eax
cmp dword [esi + 0x10c], 0
je 0x475889
xor eax, eax
cmp byte [ecx], al
je 0x475837
cmp dword [esi + 0x128], eax
jmp 0x47583d
cmp byte [edi + 0x81], al
sete al
test eax, eax
je 0x475889
test ebx, ebx
je 0x475e05
cmp byte [ebx + 0x22], 0
je 0x475df8
cmp byte [ebx + 0x20], 0
jne 0x475e12
cmp dword [ebx + 4], 0
je 0x4758bd
cmp dword [esp + 0x14], 0x3c
sete al
movzx eax, al
push eax
push ebx
push esi
call fcn.00479fc0
add esp, 0xc
test eax, eax
jne 0x475f49
jmp 0x475c88
mov eax, ecx
test ebx, ebx
jne 0x475856
cmp dword [esp + 0x14], 0x3c
mov al, byte [eax]
mov byte [edi + 0x80], al
jne case.default.0x474483
mov eax, dword [esi + 0x78]
test eax, eax
je case.default.0x474483
push 1
push ebp
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x475c88
cmp dword [esi + 0x70], 0
je 0x475913
mov byte [edi + 0x83], 0
push dword [ebx + 0x18]
mov byte [ebx + 0x20], 1
push dword [ebx + 0x10]
mov eax, dword [esi + 0x70]
push dword [ebx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
mov byte [ebx + 0x20], 0
test eax, eax
je 0x475ef7
cmp byte [edi + 0x83], 0
mov byte [esp + 0x40], 0
jne 0x47577c
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jmp 0x475c88
mov al, byte [ecx]
mov byte [edi + 0x80], al
jmp case.default.0x474483
cmp dword [esi + 0x80], 0
je case.default.0x474483
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.004777b0
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x475dd4
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov byte [edi + 0xa0], 1
jmp 0x475c88
cmp byte [edi + 0xa0], 0
je case.default.0x474483
cmp dword [esi + 0x80], 0
je 0x4759e2
mov eax, dword [esi + 0xc]
push 0x14
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x475dd4
xor eax, eax
mov dword [ecx + 4], 0
cmp dword [esp + 0x14], 0x29
mov dword [ecx + 8], 0
sete al
mov dword [ecx + 0xc], 0
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [eax], ebp
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
add esp, 0xc
mov byte [esp + 0x40], 0
mov byte [edi + 0xa0], 0
jmp 0x475536
cmp byte [edi + 0xa0], 0
je case.default.0x474483
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ecx*4], 3
cmp dword [esi + 0x80], 0
je case.default.0x474483
jmp 0x475c88
xor ebx, ebx
jmp 0x475a4a
mov ebx, 1
jmp 0x475a4a
mov ebx, 2
jmp 0x475a4a
mov ebx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x474483
test ebx, ebx
jne 0x475a65
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jmp 0x475a74
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [eax + 0x40]
mov dword [esp + 0x38], ebp
push esi
call fcn.00478280
add esp, 4
test eax, eax
js 0x475dd4
push dword [esp + 0x38]
lea ebp, [eax*8]
sub ebp, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4], 4
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
push ebx
push dword [esp + 0x44]
push esi
call fcn.004777b0
add esp, 0x10
test eax, eax
je 0x475dd4
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 8], edx
lea eax, [ecx + ecx]
inc ecx
cmp word [eax + edx], 0
jne 0x475ad1
add dword [edi + 0xa8], ecx
cmp dword [esi + 0x80], 0
je 0x475c6f
jmp 0x475c88
xor edx, edx
jmp 0x475b0b
mov edx, 1
jmp 0x475b0b
mov edx, 2
jmp 0x475b0b
mov edx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x474483
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
dec ecx
mov ebx, dword [esi + 0x80]
mov dword [edi + 0xb4], ecx
mov eax, dword [eax + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
test ebx, ebx
mov dword [eax + ecx*4 + 4], edx
sete al
cmp dword [edi + 0xb4], 0
mov byte [esp + 0x38], al
jne 0x47553a
test ebx, ebx
je 0x475bdd
mov ebp, dword [esi + 0x160]
mov eax, dword [ebp + 0xb0]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xa8]
lea eax, [eax + ecx*2]
add eax, eax
push eax
mov eax, dword [esi + 0xc]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x475dd4
mov eax, dword [ebp + 0xb0]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push 0
push esi
call fcn.00472da0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
push ebx
mov dword [ecx], eax
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
mov al, byte [esp + 0x58]
add esp, 0x20
mov byte [edi + 0xa0], 0
mov dword [edi + 0xa8], 0
jmp 0x47553a
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0047a580
add esp, 0x10
test eax, eax
je 0x475dd4
jmp 0x475c88
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0047a410
add esp, 0x10
test eax, eax
je 0x475dd4
jmp 0x475c88
cmp ebx, 0xe
setne al
jmp 0x47553a
cmp dword [esi + 0x54], 0
sete al
jmp 0x47553a
cmp byte [edi + 0x80], 0
je case.default.0x474483
cmp dword [esi + 0x88], 0
je case.default.0x474483
jmp 0x475c88
cmp dword [esi + 0x60], 0
sete al
jmp 0x47553a
cmp dword [esi + 0x80], 0
jne 0x475c88
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
cmp dword [esi + 0x50], 0
je 0x475c88
push dword [esp + 0x4c]
push ebx
push ebp
push esi
call fcn.0047a4c0
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x475f44
sub eax, 1
je 0x475f33
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ecx]
push ebx
push ebp
push ecx
mov dword [esp + 0x58], ebp
call eax
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
jmp 0x474414
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x90]
cmp edx, ecx
je 0x475d15
mov eax, dword [esi + 0x128]
cmp byte [eax + 0x14], 0
je 0x475d58
cmp byte [esi + 0x1e4], 0
jne 0x475d2f
cmp edx, ecx
jne 0x475d2f
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x24
ret
mov ebx, dword [esp + 0x44]
lea eax, [esi + 0xfc]
push edx
push ebx
push ebx
push 0xfffffffffffffffc
push eax
mov eax, dword [eax]
call eax
add esp, 0x14
cmp eax, 0xffffffff
jne 0x475d58
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x50]
pop edi
pop esi
mov dword [eax], ebp
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x13c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x140], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x14c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x114], 0x477b30
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
shr dword [esi + 0x1d0], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x1d0], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x24
ret
cmp byte [esi + 0x1e5], 0
je 0x475ed1
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x475ed1
cmp dword [esi + 0x70], 0
je 0x475ed1
push 0x24
push 0x55069c
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00477f00
add esp, 0x10
test eax, eax
je 0x475dd4
mov ecx, dword [esi + 0x164]
mov dword [eax + 0x14], ecx
mov byte [edi + 0x83], 0
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
mov eax, dword [esi + 0x70]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x475ef7
cmp byte [edi + 0x83], 0
je 0x475ecb
cmp byte [edi + 0x82], 0
jne 0x475ed1
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x475ed1
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
jne 0x475ed1
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x24
ret
mov byte [edi + 0x81], bl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
push eax
push ebx
push ebp
push esi
mov dword [esi + 0x114], fcn.00472f80
call fcn.00472f80
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x24
ret
cmp ebx, 0xc
je 0x475f26
cmp ebx, 0x1c
jne 0x475f19
pop edi
pop esi
pop ebp
lea eax, [ebx - 0x12]
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x4c]
pop edi
pop esi
mov dword [ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret