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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [eax + 0xc]
push esi
mov esi, dword [eax]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x90]
mov eax, ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x44], esi
call fcn.005407a0
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.005407a0
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 4]
cmp eax, 0x71
mov edi, dword [edi + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
je 0x56825b
cmp byte [esi + 0x1e], bl
mov edx, 1
mov dword [esp + 0x38], edx
jne 0x56825b
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
cmp edx, dword [ecx]
jg 0x56825b
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x56812c
add ecx, 0xe
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
movzx ecx, word [ecx]
cmp ecx, edx
je 0x56812c
add dword [esp + 0x3c], 0x14
add eax, 1
cmp eax, edi
jl 0x568115
cmp eax, edi
jne 0x56824b
cmp byte [esi + 0x1e], bl
jne 0x5682c8
cmp byte [esi + 0xea], bl
je 0x56817e
cmp word [esi + 0xe8], 0x31
jb 0x56817e
mov edi, dword [esi + 0xf4]
cmp edi, ebx
je 0x56817e
mov edx, dword [edi]
add dword [esi + 0xec], 1
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], edx
jle 0x5681cc
mov dword [esi + 0xf0], eax
jmp 0x5681cc
cmp dword [0x65b270], ebx
je 0x5682b4
mov eax, dword [0x661020]
cmp eax, ebx
je 0x56819d
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, 0x31
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x5681be
push eax
call dword [0x65b2c0]
add esp, 4
xor ebx, ebx
mov edi, dword [esp + 0x50]
cmp edi, ebx
jne 0x5681d4
mov byte [esi + 0x1e], 1
cmp edi, ebx
je 0x5682c8
push 0x31
push ebx
push edi
call fcn.005b5540
push ebx
lea eax, [edi + 0x30]
push ebx
push eax
mov byte [edi], 0x81
mov word [edi + 0x1e], 0xffff
mov dword [edi + 4], eax
call fcn.005b74f0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov byte [eax], bl
mov eax, dword [esp + 0xa4]
or word [edi + 2], 0x400
mov dword [edi + 4], ecx
add esp, 0x18
mov ecx, edi
mov dword [edi + 0x2c], 1
call fcn.00547280
mov edx, dword [eax + 0xc]
mov cx, word [esp + 0x38]
add dword [esp + 0x1c], 1
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov word [edx + eax + 0xe], cx
mov edx, dword [esp + 0x38]
add eax, 0x14
mov dword [esp + 0x48], eax
add edx, 1
cmp byte [esi + 0x1e], bl
mov dword [esp + 0x38], edx
je 0x5680f0
cmp esi, ebx
lea eax, [edi*4]
je 0x56831b
cmp byte [esi + 0x1e], bl
je 0x5682d5
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
push ebx
push eax
mov dword [edx + 0x18], eax
mov eax, dword [edi]
push eax
call fcn.005413f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x14], 0x71
mov dword [ecx + 0x18], eax
jne 0x5685a4
mov dword [esp + 0x2c], ebx
jmp 0x5687a4
push 0x31
call dword [0x65b288]
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x5681c0
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x78
ret
cmp byte [esi + 0xea], bl
je 0x56831b
movzx edx, word [esi + 0xe8]
cmp eax, edx
jg 0x56831b
mov ecx, dword [esi + 0xf4]
cmp ecx, ebx
je 0x56831b
mov eax, dword [ecx]
add dword [esi + 0xec], 1
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xf0]
jle 0x568315
mov dword [esi + 0xf0], eax
mov dword [esp + 0x38], ecx
jmp 0x568383
add eax, 0xffffffff
cmp eax, 0x7ffffefe
ja 0x568429
cmp dword [0x65b270], ebx
je 0x568413
mov eax, dword [0x661020]
cmp eax, ebx
je 0x568348
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x50]
lea eax, [edi*4]
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x56836b
push eax
call dword [0x65b2c0]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x56837d
cmp esi, ebx
je 0x56837d
mov byte [esi + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x38], eax
cmp ecx, ebx
je 0x568273
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x5683b9
add edx, 0xe
mov dword [esp + 0x3c], edx
nop
mov edx, dword [esp + 0x3c]
movzx edx, word [edx]
add dword [esp + 0x3c], 0x14
sub edx, 1
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, edi
jl 0x5683a0
cmp esi, ebx
lea edi, [edi + edi*4 + 0x10]
je 0x568430
cmp byte [esi + 0x1e], bl
jne 0x568273
cmp byte [esi + 0xea], bl
je 0x568430
movzx eax, word [esi + 0xe8]
cmp edi, eax
jg 0x568430
mov ecx, dword [esi + 0xf4]
cmp ecx, ebx
je 0x568430
mov edx, dword [ecx]
add dword [esi + 0xec], 1
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], edx
jle 0x56840a
mov dword [esi + 0xf0], eax
mov dword [esp + 0x28], ecx
jmp 0x568493
lea eax, [edi*4]
push eax
call dword [0x65b288]
add esp, 4
jmp 0x568371
xor eax, eax
jmp 0x568375
lea eax, [edi - 1]
cmp eax, 0x7ffffefe
ja 0x5684f7
cmp dword [0x65b270], ebx
je 0x5684eb
mov eax, dword [0x661020]
cmp eax, ebx
je 0x56845d
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x56847b
push eax
call dword [0x65b2c0]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x56848d
cmp esi, ebx
je 0x56848d
mov byte [esi + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x28], eax
cmp ecx, ebx
je 0x568277
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax*4 + 0xc]
mov dword [ecx + 8], edx
mov word [ecx + 6], ax
mov edx, dword [esi + 8]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x49]
xor edi, edi
cmp eax, ebx
mov byte [ecx + 4], dl
jle 0x568277
xor eax, eax
add ecx, 0xc
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], ecx
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
test word [ecx + 2], 0x100
mov dword [esp + 0x58], ecx
je 0x5684fb
mov edx, dword [ecx + 0x14]
jmp 0x568567
push edi
call dword [0x65b288]
add esp, 4
jmp 0x568481
xor eax, eax
jmp 0x568485
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x90]
mov esi, dword [eax + edi*4]
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
je 0x5685a0
mov edx, dword [esp + 0x8c]
push esi
push eax
push edx
call fcn.00568020
add esp, 0xc
cmp eax, ebx
jne 0x568550
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx]
cmp esi, dword [ecx]
jge 0x568550
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x8c]
lea edx, [esi + esi*4]
mov eax, dword [eax + edx*4]
push ecx
call fcn.005651a0
add esp, 4
mov ecx, dword [esp + 0x58]
or word [ecx + 2], 0x100
mov esi, dword [esp + 0x44]
mov edx, eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x3c], 4
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
mov cl, byte [ecx + eax + 0xc]
mov edx, dword [edx + 8]
mov byte [edi + edx], cl
add edi, 1
add eax, 0x14
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
jl 0x5684d0
jmp 0x568277
xor eax, eax
jmp 0x56852a
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov eax, dword [eax]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x34], eax
add eax, 1
cmp eax, ecx
mov dword [esp + 0x3c], edx
jg 0x5685d0
add edx, eax
sub ecx, eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
jmp 0x5685df
mov ecx, dword [edi + 0x48]
lea edx, [ecx + 1]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x58], eax
jg 0x568602
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x56862b
mov eax, dword [esp + 0x58]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp esi, ebx
mov eax, dword [esp + 0x34]
lea edi, [eax + eax*4 + 0x10]
je 0x568685
cmp byte [esi + 0x1e], bl
je 0x568643
xor esi, esi
jmp 0x5686f4
cmp byte [esi + 0xea], bl
je 0x568685
movzx edx, word [esi + 0xe8]
cmp edi, edx
jg 0x568685
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x568685
mov ecx, dword [eax]
add dword [esi + 0xec], 1
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0xec]
cmp ecx, dword [esi + 0xf0]
jle 0x5686e3
mov dword [esi + 0xf0], ecx
jmp 0x5686e3
lea edx, [edi - 1]
cmp edx, 0x7ffffefe
ja 0x568841
cmp dword [0x65b270], ebx
je 0x568832
mov eax, dword [0x661020]
cmp eax, ebx
je 0x5686b3
push eax
call dword [0x65b2b8]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.0053d480
mov eax, dword [0x661020]
test eax, eax
je 0x5686d1
push eax
call dword [0x65b2c0]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x5686e3
cmp esi, ebx
je 0x5686e3
mov byte [esi + 0x1e], 1
mov esi, eax
cmp esi, ebx
je 0x5686f4
push edi
push ebx
push esi
call fcn.005b5540
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x54], esi
je 0x5687a4
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
lea ecx, [esi + eax*4 + 0xc]
mov dword [esi + 8], ecx
mov word [esi + 6], ax
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x49]
xor edi, edi
cmp eax, ebx
mov byte [esi + 4], cl
jle 0x5687a4
lea edx, [esi + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x568848
mov ecx, dword [esp + 0x8c]
push edi
push eax
push ecx
call fcn.00568020
add esp, 0xc
cmp eax, ebx
jne 0x568783
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
cmp edi, dword [ecx]
jge 0x568783
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + edx]
push ecx
call fcn.005651a0
add esp, 4
mov ecx, dword [esp + 0x50]
add dword [esp + 0x3c], 0x14
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov byte [edi + eax], bl
add edi, 1
add ecx, 4
cmp edi, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
jl 0x568734
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x8c]
push str.ORDER
mov dword [edi + 0x1c], ebx
mov dword [ecx + 0x24], ebx
mov eax, dword [edi + 0x18]
push edi
push esi
call fcn.005556f0
mov edx, dword [esp + 0x30]
add esp, 0xc
cmp dword [edx + 0x1c], ebx
jne 0x5687eb
mov eax, edx
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push esi
call fcn.005556f0
add esp, 0xc
mov eax, dword [esp + 0x20]
push eax
push edi
push esi
call fcn.0054a260
add esp, 0xc
cmp dword [edi + 0x30], ebx
je 0x5688d8
cmp dword [esp + 0x14], 0x71
jne 0x5688d8
mov eax, dword [esi + 0x48]
add eax, 1
mov dword [esp + 0x34], eax
add eax, 1
mov dword [esi + 0x48], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
je 0x56884f
add eax, 1
mov dword [esp + 0x50], eax
jmp 0x568856
push edi
call dword [0x65b288]
add esp, 4
jmp 0x5686d7
xor eax, eax
jmp 0x5686db
xor eax, eax
jmp 0x56875c
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x50], ecx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568869
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568896
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x50]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5688a9
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5688e0
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x5688e0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x90]
mov edx, dword [edi + 0x28]
mov esi, dword [esp + 0x44]
push edx
push esi
call fcn.00541350
mov eax, dword [edi + 0x2c]
push eax
push esi
mov dword [edi + 0x28], ebx
call fcn.00541350
mov esi, dword [esp + 0x9c]
mov dword [edi + 0x2c], ebx
mov eax, dword [esi + 0x48]
add eax, 1
lea ecx, [eax + 1]
mov dword [esp + 0x20], ecx
add ecx, 1
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
add edx, 2
mov dword [esi + 0x48], edx
mov dword [esp + 0x58], edx
mov dl, 0xa
mov byte [esp + 0x88], dl
mov dword [esp + 0x8c], eax
mov byte [esp + 0x89], bl
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x79], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov esi, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x30], eax
jg 0x568990
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568990
mov dword [esp + 0x58], 1
jmp 0x5689b9
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x58], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x78]
push edx
push eax
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0x94]
push eax
call fcn.005809a0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], esi
jg 0x5689f4
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568a21
mov eax, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568a34
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568a5d
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x90]
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
push esi
push eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
call fcn.005809a0
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x568aba
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568ae7
mov eax, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [ebp + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x568b02
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568b2e
mov eax, dword [esp + 0x50]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
add ecx, 1
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x90]
push 0xfffffffffffffff0
push edi
add eax, 1
push eax
push edx
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x44]
push esi
push ecx
call fcn.0054a4c0
add esp, 0x20
cmp dword [esp + 0x14], 0x71
mov dword [esp + 0x54], eax
je 0x568b7b
mov eax, dword [esp + 0x14]
cmp eax, 0x70
jne 0x568bb2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x94]
push edx
push 0xffffffffffffffef
push edi
push eax
mov eax, dword [esp + 0x9c]
push ecx
lea edx, [esp + 0x7c]
push edx
push esi
push eax
mov eax, dword [esp + 0x4c]
call fcn.0054a4c0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, 0x72
je 0x568cd7
cmp eax, 0x73
je 0x568cd7
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568be1
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568be1
mov dword [esp + 0x3c], 1
jmp 0x568c12
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jg 0x568c2d
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568c5a
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568c6d
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568c99
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
add ecx, 1
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568cac
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568d1e
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x3c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x568d1e
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568cf1
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568cf1
mov esi, 1
jmp 0x568d1a
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x34], esi
cmp dword [esp + 0x14], 0x73
jne 0x568d32
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
jmp 0x568e43
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568d4f
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568d4f
mov dword [esp + 0x3c], 1
jmp 0x568d80
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
jg 0x568d9b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568dcb
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
add ecx, 1
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568dde
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568e07
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568e1a
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568e43
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568e60
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568e60
mov dword [esp + 0x3c], 1
jmp 0x568e94
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
add ecx, 1
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
jg 0x568eaf
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568ed8
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568eeb
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568f18
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568f2b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x568f54
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x14]
cmp eax, 0x71
jne 0x568f6a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
jmp 0x569046
cmp eax, 0x73
jne 0x568f83
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [esp + 0x54], eax
jmp 0x569046
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568f9d
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x568f9d
mov esi, 1
jmp 0x568fc6
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x568fdd
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x56900a
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x56901d
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569046
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x14]
cmp eax, 0x71
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x64], esi
je 0x56905b
cmp eax, 0x70
jne 0x569098
cmp dword [ebp + 0x10], esi
jg 0x56906b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569098
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5690ab
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5690d7
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
add ecx, 1
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5690ea
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569117
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x56912a
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569153
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jle 0x569168
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x56917b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5691a4
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5691b7
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5691e0
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5691f3
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569220
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x569233
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x569263
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
add ecx, 1
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x569276
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5692a3
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5692b6
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5692e3
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5692fc
mov edx, dword [esp + 0x40]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x569316
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x569316
mov eax, 1
jmp 0x56933d
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov edi, dword [ebp]
je 0x569390
cmp byte [edi + 0x1e], bl
jne 0x569390
cmp eax, ebx
jge 0x569356
mov eax, dword [ebp + 0xc]
sub eax, 1
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.005408f0
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esi + 0x10], ebx
jne 0x56937c
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x56939e
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x56939e
mov ecx, dword [esp + 0x38]
mov eax, 0xfffffff1
call fcn.005408f0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jg 0x5693cb
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x5693cb
mov esi, 1
jmp 0x5693fc
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x60]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x18
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov edi, dword [ebp]
mov eax, esi
je 0x569450
cmp byte [edi + 0x1e], bl
jne 0x569450
cmp esi, ebx
jge 0x569417
mov eax, dword [ebp + 0xc]
sub eax, 1
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.005408f0
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esi + 0x10], ebx
jne 0x56943d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x56945e
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x56945e
mov ecx, dword [esp + 0x28]
mov eax, 0xfffffff0
call fcn.005408f0
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x569471
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5694a2
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x8c]
je 0x5694d4
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add edi, 1
push eax
mov eax, edi
call fcn.005398f0
add esp, 4
cmp edi, dword [esi + 0x38]
jle 0x5694d4
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x5694ed
mov edx, dword [esp + 0x20]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x94]
cmp byte [eax], 5
mov ebp, dword [esp + 0x24]
jne 0x56951c
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov ecx, ebp
je 0x56950f
mov ecx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
jne 0x569506
mov ecx, dword [ecx]
push ecx
push ebx
push esi
call fcn.00564500
add esp, 0xc
mov edi, dword [esp + 0x90]
mov esi, dword [edi + 0x1c]
cmp esi, ebx
je 0x56953f
mov ebx, dword [esp + 0x44]
push esi
push ebx
call fcn.0053ab30
push esi
push ebx
call fcn.00532d60
add esp, 0x10
mov dword [edi + 0x1c], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret