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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], ebx
call fcn.005d81b0
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, ebx
call fcn.005c6270
lea ecx, [esp + 0x18]
call fcn.005bd420
test eax, eax
jne 0x5d0bc6
push 0x10091e9c
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091e74
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091e50
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091e38
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091e20
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091dfc
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091dd8
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091dc0
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
push 0x10091da0
lea ecx, [esp + 0x1c]
call fcn.005d8520
test eax, eax
jne 0x5d0bc6
lea ecx, [esp + 0x130]
push 0xc
push ecx
call fcn.00575280
xor esi, esi
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], esi
call fcn.005d8300
push eax
lea edx, [esp + 0x38]
push edx
call fcn.005771b0
mov eax, dword [esp + 0x3c]
add esp, 8
lea ecx, [esp + 0x130]
push ecx
mov ecx, dword [ebx]
push 2
mov dword [esp + 0x138], eax
call fcn.00585ad0
cmp dword [esp + 0x134], esi
je 0x5cef6a
mov edx, dword [esp + 0x138]
push edx
lea ecx, [esp + 0x140]
call fcn.005d8200
push eax
lea ecx, [esp + 0x1c]
call fcn.005d82b0
lea ecx, [esp + 0x13c]
call fcn.005d82d0
mov eax, dword [esp + 0x138]
push eax
call fcn.00573270
test dword [ebp + 0xc], 0x100000
mov esi, dword [ebp + 0x28]
je 0x5cef86
test esi, 0x30
mov dword [esp + 0x5c], 1
je 0x5cef8e
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x14]
push 4
push ecx
call fcn.00575280
lea eax, [edi + 4]
add esp, 8
cmp dword [eax], 0
je 0x5cf018
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [ebx + 0x58]
call fcn.005bfbb0
test eax, eax
je 0x5cf018
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push esi
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.005c1830
lea ecx, [esp + 0x14]
call fcn.005a6e90
lea ecx, [esp + 0x34]
call fcn.00573b10
lea ecx, [esp + 0x18]
call fcn.005d82d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
lea ecx, [esp + 0x90]
call fcn.005edc10
lea ecx, [esp + 0x90]
push ecx
push edi
mov ecx, ebx
call fcn.005c6420
test eax, eax
je 0x5d0317
mov edi, dword [ebp + 0x24]
nop
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x94]
call fcn.005f0090
lea ecx, [esp + 0x90]
call fcn.005edc00
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp eax, 3
jne 0x5cf5c1
mov ecx, dword [esp + 0x44]
call fcn.005ea250
test eax, eax
jne 0x5d0331
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
je 0x5cf43e
call edx
test eax, eax
je 0x5cf218
test edi, edi
je 0x5cf0c3
cmp edi, 2
je 0x5cf0c3
cmp edi, 3
je 0x5cf0c3
cmp edi, 5
jne 0x5d035d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1a8]
push eax
lea eax, [esp + 0x1bc]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x158]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x80]
push eax
call edx
lea ecx, [esp + 0x158]
call fcn.005a6e90
lea ecx, [esp + 0x1b8]
call fcn.005d82d0
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0xf4]
push edx
call eax
lea ecx, [esp + 0xc8]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xc8]
push eax
call edx
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x12c]
call fcn.005efe70
lea ecx, [esp + 0xc0]
push 4
push ecx
call fcn.00575280
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xc0]
push edx
push eax
mov ecx, ebx
call fcn.005cc670
test eax, eax
jne 0x5cf1da
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x10]
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x5d038f
mov edi, dword [ebp + 0x24]
lea ecx, [esp + 0xc0]
call fcn.005a6e90
lea ecx, [esp + 0x128]
call fcn.005efea0
lea ecx, [esp + 0xc8]
call fcn.005a6e90
lea ecx, [esp + 0xf4]
call fcn.005a6e90
lea ecx, [esp + 0x78]
call fcn.005a6e90
jmp 0x5d02db
test edi, edi
je 0x5cf22f
cmp edi, 2
je 0x5cf22f
cmp edi, 3
je 0x5cf22f
cmp edi, 5
jne 0x5d048b
cmp dword [ebx + 4], 1
jne 0x5cf372
lea eax, [esp + 0x7c]
push 4
push eax
call fcn.00575280
lea ecx, [esp + 0x84]
push ecx
call fcn.005f00b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
add esp, 0xc
lea edx, [esp + 0x1c8]
push edx
lea edx, [esp + 0x1f4]
push edx
call eax
mov ecx, eax
call fcn.005d82e0
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0xd4]
push eax
call edx
lea ecx, [esp + 0x1f0]
call fcn.005d82d0
lea eax, [esp + 0xd8]
push 4
push eax
call fcn.00575280
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xd8]
push eax
call edx
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x124]
call fcn.005efe70
lea ecx, [esp + 0xd0]
push 4
push ecx
call fcn.00575280
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xd0]
push edx
push eax
mov ecx, ebx
call fcn.005cc670
test eax, eax
jne 0x5cf334
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0xd0]
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x5d04b0
mov edi, dword [ebp + 0x24]
lea ecx, [esp + 0xd0]
call fcn.005a6e90
lea ecx, [esp + 0x120]
call fcn.005efea0
lea ecx, [esp + 0xd8]
call fcn.005a6e90
lea ecx, [esp + 0xcc]
call fcn.005a6e90
lea ecx, [esp + 0x7c]
call fcn.005a6e90
jmp 0x5d02db
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x10143fa4]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push esi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add ecx, 0x164
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
test eax, eax
mov dword [esp + 0x30], eax
jne 0x5d05c0
mov ecx, dword [ebx + 8]
push ecx
lea ecx, [esp + 0x118]
call fcn.005efe70
lea edx, [esp + 0xe0]
push 4
push edx
call fcn.00575280
mov ecx, dword [ebp + 0x10]
add esp, 8
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, ebx
call fcn.005cc670
test eax, eax
jne 0x5cf421
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x10]
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x5d0599
mov edi, dword [ebp + 0x24]
lea ecx, [esp + 0xe0]
call fcn.005a6e90
lea ecx, [esp + 0x114]
call fcn.005efea0
jmp 0x5d02db
call edx
test eax, eax
je 0x5d07be
test edi, edi
jne 0x5cf594
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x1e4]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x40]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x154]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x94]
push eax
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0x94]
push eax
call edx
lea ecx, [esp + 0x154]
call fcn.005a6e90
lea ecx, [esp + 0x1e0]
call fcn.005d82d0
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x4c]
push edx
call eax
lea ecx, [esp + 0xdc]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xdc]
push eax
call edx
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x78]
call fcn.005efe70
lea ecx, [esp + 0xe4]
push 4
push ecx
call fcn.00575280
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [esp + 0xe4]
push edx
push eax
mov ecx, ebx
call fcn.005cc670
test eax, eax
jne 0x5cf559
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, edi
je 0x5d05d3
mov edi, dword [ebp + 0x24]
lea ecx, [esp + 0xe4]
call fcn.005a6e90
lea ecx, [esp + 0x74]
call fcn.005efea0
lea ecx, [esp + 0xdc]
call fcn.005a6e90
lea ecx, [esp + 0x4c]
call fcn.005a6e90
lea ecx, [esp + 0x8c]
call fcn.005a6e90
jmp 0x5d02db
cmp edi, 2
je 0x5d06d2
cmp edi, 1
je 0x5d06e9
cmp edi, 3
je 0x5d06e9
cmp edi, 4
je 0x5d06e9
cmp edi, 5
je 0x5d06e9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
test eax, eax
mov ecx, dword [esp + 0x10]
je 0x5d0217
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x5cfbb0
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.005d7570
add esp, 8
test eax, eax
je 0x5d07ce
test edi, edi
je 0x5cf60a
cmp edi, 4
je 0x5cf60a
cmp edi, 5
jne 0x5cf616
test esi, 1
jne 0x5d0331
test edi, edi
je 0x5cf62d
cmp edi, 2
je 0x5cf62d
cmp edi, 3
je 0x5cf62d
cmp edi, 5
jne 0x5d07e5
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x168]
call fcn.005ea2c0
lea ecx, [esp + 0x1f8]
call fcn.005ea400
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1f8]
push eax
call fcn.005ea2f0
test eax, eax
je 0x5cf66d
cmp dword [esp + 0x204], 0
je 0x5d0876
lea ecx, [esp + 0x164]
call fcn.005ea2e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x2c]
push eax
call edx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x108]
push eax
call fcn.005ea0b0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov dword [esp + 0x20], eax
mov eax, esi
and eax, 1
mov dword [esp + 0x30], eax
je 0x5cf729
cmp word [esp + 0x108], 0
ja 0x5d0899
test edi, edi
je 0x5d08e3
cmp edi, 5
je 0x5d08e3
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
cmp eax, 2
je 0x5cf729
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.005d9120
lea ecx, [esp + 0x20]
call fcn.005a6e90
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
call fcn.005d7550
add esp, 8
push eax
push 1
call fcn.005a9950
add esp, 0xc
mov dword [esp + 0x20], 2
test esi, 0x40
jne 0x5cf738
cmp dword [esp + 0x30], 0
jne 0x5cf78d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
cmp eax, 2
jne 0x5cf78d
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0
call fcn.005d9120
lea ecx, [esp + 0x20]
call fcn.005a6e90
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push 0
push eax
call fcn.005d7550
add esp, 8
push eax
push 0
call fcn.005a9950
add esp, 0xc
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x188]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x1b4]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x1d4]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x98]
push edx
mov edx, dword [esp + 0x24]
push edx
lea edx, [esp + 0x190]
push edx
lea edx, [esp + 0x1ac]
push edx
lea edx, [esp + 0x70]
push edx
call eax
lea ecx, [esp + 0x1d0]
call fcn.005d82d0
lea ecx, [esp + 0x1b0]
call fcn.005d82d0
lea ecx, [esp + 0x58]
push 4
push ecx
call fcn.00575280
lea edx, [esp + 0x58]
push 4
push edx
call fcn.00575280
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x50]
push eax
push esi
push ecx
push edx
push 0x1008341c
lea ecx, [esp + 0x244]
add edi, 0x10
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [edi]
call eax
test eax, eax
jne 0x5d0903
cmp word [esp + 0x108], ax
jbe 0x5cfa35
lea ecx, [esp + 0x6c]
push 4
push ecx
call fcn.00575280
mov edi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push eax
lea eax, [esp + 0x118]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x5cf9ce
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebp + 0x1c]
push esi
push edi
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x11c]
push eax
call edx
test eax, eax
jne 0x5d093f
mov ecx, dword [esp + 0x44]
call fcn.005ea260
test eax, eax
je 0x5cf9d6
lea ecx, [esp + 0x16c]
call fcn.005d8300
mov eax, dword [0x10093724]
push eax
lea ecx, [esp + 0x10c]
push ecx
lea ecx, [esp + 0x174]
call fcn.005e9f40
lea edx, [esp + 0x208]
push edx
lea ecx, [esp + 0x170]
call fcn.005ea270
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x21c]
push ecx
lea ecx, [esp + 0x174]
call fcn.005ea110
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x164]
call fcn.005bd3e0
mov eax, dword [esp + 0x2c]
mov edi, dword [eax]
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x160]
mov dword [esp + 0x34], eax
add edi, 0x18
call fcn.005d8300
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
push eax
call edx
test eax, eax
jne 0x5cf9d6
mov eax, dword [esp + 0x110]
test al, 0x20
jne 0x5cf9d6
mov ecx, dword [esp + 0x2c]
or eax, 0x20
mov dword [esp + 0x110], eax
mov edi, dword [ecx]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x160]
add edi, 0x1c
call fcn.005d8300
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [edi]
call eax
jmp 0x5cf9d6
test eax, eax
jne 0x5d093f
lea ecx, [esp + 0xf0]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xf0]
push eax
call edx
mov edx, dword [esp + 0xf0]
mov edi, dword [edx]
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [edi + 0x18]
push edx
call eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.005d9120
lea ecx, [esp + 0xf0]
call fcn.005a6e90
lea ecx, [esp + 0x6c]
call fcn.005a6e90
jmp 0x5cfa43
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x5c]
call fcn.005d9120
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp eax, 2
je 0x5cfa99
lea eax, [esp + 0xfc]
push 4
push eax
call fcn.00575280
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xfc]
push eax
call edx
mov edx, dword [esp + 0xfc]
mov edi, dword [edx]
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [edi + 0x18]
push edx
call eax
lea ecx, [esp + 0xfc]
call fcn.005a6e90
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.005a5e20
mov edi, dword [eax]
add esp, 0x18
test edi, edi
mov dword [esp + 0x20], edi
je 0x5cfacf
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea ecx, [esp + 0x24]
call fcn.005a6e90
mov edx, dword [esp + 0x5c]
push edx
push edi
mov ecx, ebx
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebx + 8]
push edx
lea ecx, [esp + 0x11c]
call fcn.005efe70
lea eax, [esp + 0xd4]
push 4
push eax
call fcn.00575280
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xd4]
push ecx
push edx
mov ecx, ebx
call fcn.005cc670
test eax, eax
jne 0x5cfb4e
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0xd4]
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x30], eax
call edx
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x5d095d
lea ecx, [esp + 0xd4]
call fcn.005a6e90
lea ecx, [esp + 0x118]
call fcn.005efea0
lea ecx, [esp + 0x20]
call fcn.005a6e90
lea ecx, [esp + 0x50]
call fcn.005a6e90
lea ecx, [esp + 0x58]
call fcn.005a6e90
lea ecx, [esp + 0x60]
call fcn.005a6e90
lea ecx, [esp + 0x2c]
call fcn.005a6e90
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0x90]
call fcn.005be430
mov edi, dword [ebp + 0x24]
jmp 0x5d02f0
test edi, edi
je 0x5cfbc7
cmp edi, 2
je 0x5cfbc7
cmp edi, 3
je 0x5cfbc7
cmp edi, 5
jne 0x5d09e3
mov ebx, esi
and ebx, 1
je 0x5cfbda
test esi, 0x40
jne 0x5d0367
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x5cfbe6
cmp eax, 5
jne 0x5cfbee
test ebx, ebx
jne 0x5d07ce
mov edi, dword [esp + 0x44]
push edi
lea ecx, [esp + 0x140]
call fcn.005ea2c0
lea ecx, [esp + 0x144]
call fcn.005ea400
lea eax, [esp + 0x144]
push eax
mov ecx, edi
call fcn.005ea2f0
test eax, eax
je 0x5cfc2c
cmp dword [esp + 0x150], 0
je 0x5d0a5a
lea ecx, [esp + 0x13c]
call fcn.005ea2e0
lea ecx, [esp + 0x100]
push ecx
mov ecx, edi
call fcn.005ea0b0
test ebx, ebx
je 0x5cfc6e
cmp word [esp + 0x100], 0
mov eax, dword [ebp + 0x24]
ja 0x5d0a7d
test eax, eax
je 0x5d0331
cmp eax, 5
je 0x5d0331
mov edx, dword [esp + 0x68]
cmp dword [edx + 4], 1
jne 0x5d00cc
lea eax, [esp + 0x40]
push 4
push eax
call fcn.00575280
mov edx, dword [ebp + 0x1c]
add esp, 8
lea ecx, [esp + 0x40]
push ecx
push ebx
push edx
call fcn.005d7550
add esp, 8
push eax
push ebx
call fcn.005a9950
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
add esp, 0xc
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0x19c]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x194]
push eax
call edx
mov ecx, eax
call fcn.005d82e0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0x98]
xor eax, eax
test ebx, ebx
setne al
add eax, 1
push eax
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x64]
push eax
call edx
lea ecx, [esp + 0x190]
call fcn.005d82d0
lea ecx, [esp + 0x198]
call fcn.005d82d0
lea eax, [esp + 0x64]
push 4
push eax
call fcn.00575280
lea ecx, [esp + 0x50]
push 4
push ecx
call fcn.00575280
mov eax, dword [esp + 0x50]
mov edi, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 0x10
lea edx, [esp + 0x48]
push edx
push esi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
push 0x1008341c
lea ecx, [esp + 0x23c]
add edi, 0x10
call fcn.005bd3c0
mov ecx, eax
call fcn.005d8300
mov ecx, dword [esp + 0x40]
mov edx, dword [edi]
push eax
call edx
test eax, eax
jne 0x5d0aa2
cmp word [esp + 0x100], ax
jbe 0x5cff6b
lea eax, [esp + 0x70]
push 4
push eax
call fcn.00575280
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
add esp, 8
lea eax, [esp + 0x70]
push eax
mov eax, dword [ebp + 0x20]
push esi
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x110]
push eax
call edx
mov ecx, eax
and ecx, 0xefffffff
cmp ecx, 0xc0000034
jne 0x5cff04
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x20]
push esi
push eax
push ebx
push ecx
add edi, 0xc
call fcn.005d7550
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
add esp, 8
push eax
push edx
mov edx, dword [edi]
lea eax, [esp + 0x114]
push eax
call edx
test eax, eax
jne 0x5d0ade
lea ecx, [esp + 0x16c]
call fcn.005d8300
mov eax, dword [0x10093724]
push eax
lea ecx, [esp + 0x104]
push ecx
lea ecx, [esp + 0x174]
call fcn.005e9f40
lea ecx, [esp + 0x16c]
call fcn.005ea260
test eax, eax
je 0x5cff0c
lea edx, [esp + 0x210]
push edx
lea ecx, [esp + 0x170]
call fcn.005ea270
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x224]
push ecx
lea ecx, [esp + 0x174]
call fcn.005ea110
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x88]
call fcn.005bd3e0
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x84]
mov ebx, eax
add edi, 0x18
call fcn.005d8300
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x5cff0c
mov eax, dword [esp + 0x124]
test al, 0x20
jne 0x5cff0c
mov ecx, dword [esp + 0x40]
or eax, 0x20
mov dword [esp + 0x124], eax
mov edi, dword [ecx]
mov ebx, ecx
push eax
lea ecx, [esp + 0x84]
add edi, 0x1c
call fcn.005d8300
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
jmp 0x5cff0c
test eax, eax
jne 0x5d0ade
lea ecx, [esp + 0xf8]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xf8]
push eax
call edx
mov edx, dword [esp + 0xf8]
mov edi, dword [edx]
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [edi + 0x18]
push edx
call eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x68]
call fcn.005d9120
lea ecx, [esp + 0xf8]
call fcn.005a6e90
lea ecx, [esp + 0x70]
call fcn.005a6e90
jmp 0x5cff79
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x68]
call fcn.005d9120
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp eax, 2
je 0x5cffcf
lea eax, [esp + 0xec]
push 4
push eax
call fcn.00575280
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0xec]
push eax
call edx
mov edx, dword [esp + 0xec]
mov edi, dword [edx]
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov eax, dword [edi + 0x18]
push edx
call eax
lea ecx, [esp + 0xec]
call fcn.005a6e90
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x64]
push esi
push ecx
mov ecx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x10c]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.005a5e20
mov edi, dword [eax]
add esp, 0x18
test edi, edi
mov dword [esp + 0x20], edi
je 0x5d0005
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea ecx, [esp + 0x28]
call fcn.005a6e90
mov edx, dword [esp + 0x5c]
push edx
push edi
mov edi, dword [esp + 0x70]
mov ecx, edi
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [edi + 8]
push edx
lea ecx, [esp + 0x120]
call fcn.005efe70
lea eax, [esp + 0xe8]
push 4
push eax
call fcn.00575280
mov edx, dword [ebp + 0x10]
add esp, 8
lea ecx, [esp + 0xe8]
push ecx
push edx
mov ecx, edi
call fcn.005cc670
test eax, eax
jne 0x5d0082
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0xe8]
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
cmp ebx, eax
je 0x5d0afc
lea ecx, [esp + 0xe8]
call fcn.005a6e90
lea ecx, [esp + 0x11c]
call fcn.005efea0
lea ecx, [esp + 0x20]
call fcn.005a6e90
lea ecx, [esp + 0x48]
call fcn.005a6e90
lea ecx, [esp + 0x64]
call fcn.005a6e90
lea ecx, [esp + 0x54]
call fcn.005a6e90
lea ecx, [esp + 0x40]
call fcn.005a6e90
jmp 0x5d01f6
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x10143fa4]
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push esi
push 0
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push ebx
add ecx, 0x164
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov edi, eax
test edi, edi
je 0x5d0177
mov ecx, dword [0x10143fa4]
mov eax, dword [ecx + 0x1f4]
mov edx, dword [eax + 0x24]
add ecx, 0x1f4
push ebx
call edx
call eax
mov edi, eax
test edi, edi
jne 0x5d0bb3
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [0x10143fa4]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push esi
push 2
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
push edx
mov edx, dword [ebp + 0xc]
mov eax, ebx
push eax
mov eax, dword [ebp + 8]
add ecx, 0x164
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
mov edi, eax
test edi, edi
jne 0x5d0bb3
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
push edx
lea ecx, [esp + 0x130]
call fcn.005efe70
lea eax, [esp + 0xc4]
push 4
push eax
call fcn.00575280
add esp, 8
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x6c]
push ebx
call fcn.005cc670
test eax, eax
jne 0x5d01de
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0xc4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x30], eax
call edx
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x5d0b82
lea ecx, [esp + 0xc4]
call fcn.005a6e90
lea ecx, [esp + 0x12c]
call fcn.005efea0
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0x90]
call fcn.005be430
mov ebx, dword [esp + 0x68]
mov edi, dword [ebp + 0x24]
jmp 0x5d02f0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
mov dword [esp + 0x20], 0
je 0x5d0290
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push esi
push edi
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.005cc750
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0x90]
call fcn.005be430
cmp dword [esp + 0x20], 0
je 0x5ceff4
jmp 0x5d02f0
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push esi
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.005cda20
cmp dword [esp + 0x20], 0
je 0x5d0343
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0x90]
call fcn.005be430
lea ecx, [esp + 0x90]
call fcn.005edc10
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x90]
push ecx
push edx
mov ecx, ebx
call fcn.005c6420
test eax, eax
jne 0x5cf040
mov eax, dword [ebp + 0x38]
lea ecx, [esp + 0x90]
mov dword [eax], 1
call fcn.005be430
jmp 0x5ceff4
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc000000d
lea ecx, [esp + 0x10]
call fcn.005a6e90
lea ecx, [esp + 0x90]
call fcn.005be430
jmp 0x5ceff4
cmp edi, 1
je 0x5d037b
cmp edi, 4
je 0x5d037b
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
jmp 0x5d0343
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc0000034
jmp 0x5d0343
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x78]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0xc0]
call fcn.005a6e90
lea ecx, [esp + 0x128]
call fcn.005efea0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x78]
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push eax
call fcn.005a4850
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x24], esi
je 0x5d0418
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x5c]
push eax
push esi
mov ecx, ebx
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x24]
mov dword [eax], edi
call fcn.005a6e90
lea ecx, [esp + 0xc8]
call fcn.005a6e90
lea ecx, [esp + 0xf4]
call fcn.005a6e90
lea ecx, [esp + 0x78]
call fcn.005a6e90
jmp 0x5d0343
cmp edi, 1
je 0x5d0499
cmp edi, 4
jne 0x5d0331
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000034
jmp 0x5d0343
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0xcc]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0xd0]
call fcn.005a6e90
lea ecx, [esp + 0x120]
call fcn.005efea0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xcc]
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push eax
call fcn.005a4850
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x24], esi
je 0x5d053d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
mov eax, dword [esp + 0x5c]
push eax
push esi
mov ecx, ebx
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x24]
mov dword [eax], 0
call fcn.005a6e90
lea ecx, [esp + 0xd8]
call fcn.005a6e90
lea ecx, [esp + 0xcc]
call fcn.005a6e90
lea ecx, [esp + 0x7c]
call fcn.005a6e90
jmp 0x5d0343
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
lea ecx, [esp + 0xe0]
call fcn.005a6e90
lea ecx, [esp + 0x114]
call fcn.005efea0
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], eax
jmp 0x5d0343
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x28]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x8c]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x28]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0xe4]
call fcn.005a6e90
lea ecx, [esp + 0x74]
call fcn.005efea0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x8c]
push esi
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.005a4850
mov esi, dword [eax]
xor edi, edi
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x24], esi
je 0x5d065f
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [esp + 0x28]
call fcn.005a6e90
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x5c]
push eax
push esi
mov ecx, ebx
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], edi
lea ecx, [esp + 0x24]
mov dword [eax], edi
call fcn.005a6e90
lea ecx, [esp + 0xdc]
call fcn.005a6e90
lea ecx, [esp + 0x4c]
call fcn.005a6e90
lea ecx, [esp + 0x8c]
call fcn.005a6e90
jmp 0x5d0343
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000035
jmp 0x5d0343
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [esp + 0x74]
push edx
call eax
lea ecx, [esp + 0x4c]
push 4
push ecx
call fcn.00575280
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
lea eax, [esp + 0x4c]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x38]
push eax
call fcn.005a4850
mov esi, dword [eax]
add esp, 0x14
test esi, esi
mov dword [esp + 0x24], esi
je 0x5d0746
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
cmp edi, 4
je 0x5d0759
cmp edi, 5
jne 0x5d077a
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x5c]
push eax
push esi
mov ecx, ebx
call fcn.005c17a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x38]
mov dword [ecx], eax
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x24]
mov dword [eax], 0
call fcn.005a6e90
lea ecx, [esp + 0x4c]
call fcn.005a6e90
lea ecx, [esp + 0x74]
call fcn.005a6e90
jmp 0x5d0343
mov ecx, dword [ebp + 0x38]
mov dword [ecx], 1
jmp 0x5d0343
je 0x5d0848
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc000000d
jmp 0x5d0343
cmp edi, 1
je 0x5d07f3
cmp edi, 4
jne 0x5d0367
lea ecx, [esp + 0x144]
call fcn.005ea400
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x144]
push edx
call fcn.005ea2f0
test eax, eax
je 0x5d083b
mov eax, dword [esp + 0x150]
test eax, eax
jne 0x5d0836
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
jmp 0x5d0343
cmp eax, 1
jne 0x5d085f
cmp edi, 4
jne 0x5d0848
test esi, 1
jmp 0x5d07cc
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], 0xc0000034
jmp 0x5d0343
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc0000229
jmp 0x5d0343
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000003a
lea ecx, [esp + 0x164]
call fcn.005ea2e0
jmp 0x5d0343
cmp edi, 2
je 0x5d08c3
cmp edi, 3
je 0x5d08c3
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
lea ecx, [esp + 0x2c]
mov dword [eax], 0xc000000d
call fcn.005a6e90
jmp 0x5d0343
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x2c]
mov dword [edx], 0xc0000103
call fcn.005a6e90
jmp 0x5d0343
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
mov dword [eax], 0
mov dword [ecx], 0xc000000d
lea ecx, [esp + 0x2c]
call fcn.005a6e90
jmp 0x5d0343
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x50]
call fcn.005a6e90
lea ecx, [esp + 0x58]
call fcn.005a6e90
lea ecx, [esp + 0x60]
call fcn.005a6e90
lea ecx, [esp + 0x2c]
call fcn.005a6e90
jmp 0x5d0343
mov edx, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [edx], 0
mov dword [ecx], eax
lea ecx, [esp + 0x6c]
call fcn.005a6e90
jmp 0x5d0916
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x60]
mov edx, dword [edx + 0xc]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0xd4]
call fcn.005a6e90
lea ecx, [esp + 0x118]
call fcn.005efea0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x20]
call fcn.005a6e90
jmp 0x5d0916
cmp edi, 1
je 0x5d09f1
cmp edi, 4
jne 0x5d07ce
mov ebx, esi
and ebx, 1
je 0x5d0a04
test esi, 0x40
jne 0x5d0331
cmp edi, 4
jne 0x5d0a11
test ebx, ebx
jne 0x5d0367
lea ecx, [esp + 0x144]
call fcn.005ea400
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x144]
push edx
call fcn.005ea2f0
test eax, eax
je 0x5d0a4a
mov eax, dword [esp + 0x150]
test eax, eax
je 0x5d081f
cmp eax, 1
jne 0x5d085f
cmp edi, 4
jne 0x5d0848
test ebx, ebx
jmp 0x5d07cc
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
lea ecx, [esp + 0x13c]
mov dword [edx], 0xc000003a
call fcn.005ea2e0
jmp 0x5d0343
cmp eax, 2
je 0x5d0a8b
cmp eax, 3
jne 0x5d0367
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [edx], 0
mov dword [eax], 0xc0000103
jmp 0x5d0343
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
and eax, 0xefffffff
mov dword [ecx], 0
mov dword [edx], eax
lea ecx, [esp + 0x48]
call fcn.005a6e90
lea ecx, [esp + 0x64]
call fcn.005a6e90
lea ecx, [esp + 0x54]
call fcn.005a6e90
lea ecx, [esp + 0x40]
call fcn.005a6e90
jmp 0x5d0343
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
and eax, 0xefffffff
lea ecx, [esp + 0x70]
mov dword [edx], eax
call fcn.005a6e90
jmp 0x5d0ab5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x28]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 0xc]
push edx
call eax
lea ecx, [esp + 0x28]
call fcn.005a6e90
lea ecx, [esp + 0x24]
call fcn.005a6e90
lea ecx, [esp + 0xe8]
call fcn.005a6e90
lea ecx, [esp + 0x11c]
call fcn.005efea0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [eax + 4], 2
mov dword [eax], 0
mov dword [ecx], 0
lea ecx, [esp + 0x20]
mov dword [edx], 0
call fcn.005a6e90
jmp 0x5d0ab5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
call edx
lea ecx, [esp + 0xc4]
call fcn.005a6e90
lea ecx, [esp + 0x12c]
call fcn.005efea0
test edi, edi
jne 0x5d0bb3
mov eax, dword [ebp + 0x14]
mov dword [eax + 4], 2
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov dword [ecx], 0
mov dword [edx], edi
jmp 0x5d0343
mov eax, dword [ebp + 0x38]
lea ecx, [esp + 0x18]
mov dword [eax], 1
call fcn.005d82d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34