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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, ecx
mov dword [esp + 0xc], edx
push ebx
push esi
push edi
mov ebx, dword [eax + 0xc]
mov ecx, ebx
mov edi, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], ebx
call fcn.00536850
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.00536850
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov al, byte [ecx + 4]
mov edx, dword [ecx + 0x18]
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0x70
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
je 0x50b9be
cmp byte [edi + 0x1e], 0
mov esi, 1
mov dword [esp + 0x50], esi
jne 0x50b9be
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
cmp esi, dword [eax]
mov eax, dword [esp + 0x24]
jg 0x50b9be
mov edx, dword [edx + 0xc]
xor ecx, ecx
test eax, eax
jle 0x50b8a7
add edx, 0xe
mov ebx, eax
nop
movzx eax, word [edx]
cmp eax, esi
je 0x50b89f
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x50b890
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jne 0x50b99a
cmp byte [edi + 0x1e], 0
je 0x50b8be
xor esi, esi
xor eax, eax
jmp 0x50b94b
cmp byte [edi + 0xe2], 0
je 0x50b904
mov eax, 0x41
cmp ax, word [edi + 0xe0]
ja 0x50b904
mov esi, dword [edi + 0xec]
test esi, esi
je 0x50b904
mov eax, dword [esi]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x50b91e
mov dword [edi + 0xe8], eax
jmp 0x50b91e
push 0x41
call fcn.0054a0f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x50b918
mov byte [edi + 0x1e], 1
mov eax, esi
test esi, esi
je 0x50b949
push 0x41
push 0
push esi
call fcn.004359b0
add esp, 0xc
mov byte [esi], 0x81
or eax, 0xffffffff
lea ecx, [esi + 4]
mov word [esi + 0x28], ax
lea eax, [esi + 0x40]
mov dword [ecx], eax
mov byte [eax], 0
mov dword [esi + 0x38], 1
jmp 0x50b94e
mov esi, eax
lea ecx, [eax + 4]
test esi, esi
je 0x50b9b2
mov edx, dword [esp + 0x2c]
mov eax, 0x800
or word [esi + 2], ax
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
push esi
call fcn.00527b90
mov ecx, dword [esp + 0x60]
mov edx, eax
mov esi, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x2c], edx
mov eax, dword [edx + 0xc]
mov word [eax + ecx + 0xe], si
mov eax, dword [esp + 0x24]
inc eax
add ecx, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], ecx
jmp 0x50b99e
mov edx, dword [esp + 0x2c]
inc esi
cmp byte [edi + 0x1e], 0
mov dword [esp + 0x50], esi
jne 0x50b9be
mov ecx, dword [esp + 0x18]
jmp 0x50b873
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax*4]
test edi, edi
je 0x50ba68
cmp byte [edi + 0x1e], 0
je 0x50ba1f
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, eax
push 0
mov dword [ecx + 0x18], eax
mov ecx, dword [esi]
call fcn.00528700
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp byte [esp + 0x13], 0x70
mov dword [ecx + 0x18], eax
jne 0x50bc22
mov dword [esp + 0x2c], 0
jmp 0x50be53
cmp byte [edi + 0xe2], 0
je 0x50ba68
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x50ba68
mov edx, dword [edi + 0xec]
mov dword [esp + 0x4c], edx
test edx, edx
je 0x50ba68
mov eax, dword [edx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x50ba64
mov dword [edi + 0xe8], eax
mov esi, edx
jmp 0x50ba8b
push ecx
call fcn.0054a0f0
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x50ba81
test edi, edi
je 0x50ba81
mov byte [edi + 0x1e], 1
mov esi, eax
test eax, eax
je 0x50b9db
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [edx + 0xc]
cmp dword [esp + 0x24], ecx
jle 0x50bab4
mov ebx, dword [esp + 0x24]
add edx, 0xe
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x50baa1
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
lea ecx, [esi + ecx*4]
test edi, edi
je 0x50bb13
cmp byte [edi + 0x1e], 0
jne 0x50b9db
cmp byte [edi + 0xe2], 0
je 0x50bb13
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x50bb13
mov edx, dword [edi + 0xec]
mov dword [esp + 0x38], edx
test edx, edx
je 0x50bb13
mov eax, dword [edx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x50bb36
mov dword [edi + 0xe8], eax
jmp 0x50bb36
push ecx
call fcn.0054a0f0
mov edx, eax
add esp, 4
mov dword [esp + 0x38], edx
test edx, edx
jne 0x50bb36
test edi, edi
je 0x50bb2e
mov byte [edi + 0x1e], 1
test edx, edx
je 0x50b9e3
lea eax, [esi + 3]
mov word [edx + 6], si
lea eax, [edx + eax*4]
mov dword [edx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [edx + 4], al
xor edx, edx
mov dword [esp + 0x5c], edx
test esi, esi
jle 0x50b9e3
mov ebx, dword [esp + 0x38]
xor edi, edi
add ebx, 0xc
mov ecx, 0x100
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov esi, dword [edi + eax]
test word [esi + 2], cx
je 0x50bb85
mov ecx, dword [esi + 0x14]
jmp 0x50bbe4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x64], eax
test edx, edx
je 0x50bbb4
mov ecx, dword [esp + 0x14]
push eax
call fcn.0050e470
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x50bbd4
mov eax, dword [esp + 0x64]
jmp 0x50bbb6
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
cmp eax, dword [edx]
jge 0x50bbd4
mov edx, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
call fcn.00529e70
mov ecx, eax
mov edx, dword [esp + 0x5c]
mov eax, 0x100
or word [esi + 2], ax
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
add ebx, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
mov al, byte [edi + eax + 0xc]
add edi, 0x14
mov byte [edx + ecx], al
inc edx
mov ecx, 0x100
mov dword [esp + 0x5c], edx
cmp edx, dword [esp + 0x24]
jl 0x50bb70
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
jmp 0x50b9e3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x50bc90
xor edx, edx
lea ecx, [esi + 0x70]
nop dword [eax]
mov esi, dword [ecx]
mov edi, dword [esp + 0x58]
cmp esi, dword [esp + 0x2c]
jl 0x50bc6f
mov ebx, dword [esp + 0x2c]
dec ebx
add eax, ebx
mov ebx, dword [esp + 0x44]
cmp esi, eax
jle 0x50bc88
mov eax, dword [esp + 0x64]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x50bc50
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
add dword [edx + 0x3c], ecx
sub dword [edx + 0x38], ecx
jmp 0x50bc9f
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esi + 0x48], eax
mov esi, dword [ebx + 0xc]
mov eax, esi
cmp dword [ebx + 0x10], esi
jg 0x50bcb7
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50bcf0
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov eax, dword [esp + 0x40]
lea ecx, [eax + 4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x64], ecx
test edi, edi
je 0x50bd60
cmp byte [edi + 0x1e], 0
je 0x50bd15
mov dword [esp + 0x20], 0
jmp 0x50be4b
cmp byte [edi + 0xe2], 0
je 0x50bd60
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x50bd60
mov esi, dword [edi + 0xec]
mov dword [esp + 0x5c], esi
test esi, esi
je 0x50bd60
mov eax, dword [esi]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x50bd5a
mov dword [edi + 0xe8], eax
mov dword [esp + 0x20], esi
jmp 0x50bd8b
push ecx
call fcn.0054a0f0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x50bd79
test edi, edi
je 0x50bd79
mov byte [edi + 0x1e], 1
mov dword [esp + 0x5c], eax
mov esi, eax
test eax, eax
je 0x50be47
mov ecx, dword [esp + 0x64]
push ecx
push 0
push esi
call fcn.004359b0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov word [esi + 6], cx
lea eax, [ecx + 3]
lea eax, [esi + eax*4]
mov dword [esi + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [esi + 4], al
xor esi, esi
test ecx, ecx
jle 0x50be4b
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], esi
lea ecx, [edi + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x50be00
push esi
mov ecx, ebx
call fcn.0050e470
mov ecx, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x50be21
jmp 0x50be02
xor eax, eax
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
cmp esi, dword [edx]
jge 0x50be21
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov eax, dword [esp + 0x50]
mov edx, dword [edx + eax]
call fcn.00529e70
mov ecx, dword [esp + 0x48]
add dword [esp + 0x50], 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [edi + 8]
mov dword [esp + 0x48], ecx
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x40]
jl 0x50bde0
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
jmp 0x50be4b
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, eax
push str.ORDER
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, esi
push dword [eax + 0x18]
call fcn.0052a600
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x50be97
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, esi
call fcn.0052a600
add esp, 8
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x30], 0
jne 0x50c073
mov ecx, esi
call fcn.00525df0
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x28], 0
je 0x50c069
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
inc eax
mov dword [esp + 0x48], ecx
mov dword [ecx], eax
mov dword [edx + 0x30], eax
mov esi, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], esi
test esi, esi
jne 0x50befb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00536d40
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], esi
mov dword [ecx + 0xc], esi
jmp 0x50beff
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x50c065
mov edx, dword [edx + 0x28]
push eax
call fcn.005249d0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], ecx
cmp ecx, eax
je 0x50bf55
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x50bf55
push eax
push dword [esp + 0x68]
mov edx, 0xf
call fcn.005369a0
mov edx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x34]
add edx, 0x48
mov dword [esp + 0x48], edx
push eax
mov edx, 0x15
mov ecx, esi
call fcn.00536a10
add esp, 4
mov edx, 0x72
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.005369a0
mov edx, dword [esp + 0x20]
add esp, 8
cmp dword [edx + 0x2c], 0
je 0x50c065
mov eax, dword [esp + 0x48]
inc dword [eax]
mov ecx, dword [eax]
mov dword [edx + 0x34], ecx
inc dword [eax]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x48], ecx
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00524900
add esp, 4
mov edx, 0x15
mov ecx, esi
push dword [esp + 0x48]
call fcn.00536a10
add esp, 4
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x48]
call fcn.00536a10
add esp, 4
mov dword [esp + 0x64], eax
mov edx, 7
mov ecx, esi
push dword [esp + 0x48]
push 0
call fcn.005369a0
mov edx, dword [esi + 0xc]
add esp, 8
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x50bfff
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x48]
mov edx, 0x56
mov ecx, dword [esp + 0x44]
lea esi, [eax + 1]
push esi
push eax
push dword [esp + 0x3c]
call fcn.00536af0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov edx, 0x70
push dword [esp + 0x34]
call fcn.00536a10
add esp, 4
mov dword [esp + 0x64], eax
mov edx, 7
push esi
mov esi, dword [esp + 0x48]
mov ecx, esi
push 0xffffffffffffffff
call fcn.005369a0
mov edx, dword [esi + 0xc]
add esp, 8
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x50c061
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp dword [edx + 0x30], 0
je 0x50c186
cmp byte [esp + 0x13], 0x70
jne 0x50c186
mov eax, dword [esi + 0x48]
inc eax
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x30], eax
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x34]
test eax, eax
je 0x50c09e
lea ecx, [eax + 1]
mov dword [esp + 0x5c], ecx
jmp 0x50c0a5
mov eax, dword [edx + 0x30]
mov dword [esp + 0x5c], eax
mov esi, dword [ebx + 0xc]
mov eax, esi
cmp dword [ebx + 0x10], esi
jg 0x50c0bd
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c0f6
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
lea ecx, [esi + esi*4]
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c109
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c141
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x50c1a1
mov edx, esi
mov ecx, edi
call fcn.00528ff0
cmp word [esi + 2], 0
jl 0x50c1a1
test edi, edi
je 0x50c198
cmp esi, dword [edi + 0xf0]
jb 0x50c198
cmp esi, dword [edi + 0xf4]
jae 0x50c198
mov eax, dword [edi + 0xec]
mov dword [esi], eax
dec dword [edi + 0xe4]
mov dword [edi + 0xec], esi
jmp 0x50c1a1
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
jmp 0x50c145
push esi
call fcn.00549d90
add esp, 4
mov esi, dword [esp + 0x18]
mov dword [esi + 0x28], 0
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x50c1f6
mov edx, esi
mov ecx, edi
call fcn.00528ff0
cmp word [esi + 2], 0
jl 0x50c1f6
test edi, edi
je 0x50c1ed
cmp esi, dword [edi + 0xf0]
jb 0x50c1ed
cmp esi, dword [edi + 0xf4]
jae 0x50c1ed
mov eax, dword [edi + 0xec]
mov dword [esi], eax
dec dword [edi + 0xe4]
mov dword [edi + 0xec], esi
jmp 0x50c1f6
push esi
call fcn.00549d90
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov word [esp + 0x80], 0xa
mov dword [esp + 0x88], 0
mov dword [eax + 0x2c], 0
mov ecx, dword [esi + 0x48]
inc ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], ecx
mov word [esp + 0x70], 0xa
mov dword [esp + 0x78], 0
lea eax, [ecx + 1]
mov dword [esp + 0x7c], 0
lea edx, [eax + 1]
mov dword [esp + 0x40], eax
lea eax, [edx + 1]
mov dword [esp + 0x74], edx
mov dword [esp + 0x34], eax
add eax, 2
mov dword [esi + 0x48], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edi
cmp dword [ebx + 0x10], edi
jg 0x50c294
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c291
mov dword [esp + 0x64], 1
jmp 0x50c2cd
mov eax, dword [ebx + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x28]
mov edx, ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x80]
push eax
mov ecx, esi
call fcn.00508120
mov esi, dword [ebx + 0xc]
add esp, 4
cmp dword [ebx + 0x10], esi
jg 0x50c306
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c33e
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c351
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c389
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x70]
mov dword [ecx + 0x34], 0
mov ecx, dword [esp + 0x14]
push eax
call fcn.00508120
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c3d8
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c410
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c423
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c45b
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
push dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff0
push dword [esp + 0x28]
lea eax, [esi + 1]
push dword [esp + 0x38]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x98]
push eax
call fcn.0050d0b0
mov edi, eax
add esp, 0x1c
mov al, byte [esp + 0x13]
mov dword [esp + 0x44], edi
cmp al, 0x70
je 0x50c49e
cmp al, 0x6f
jne 0x50c4d0
push dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffef
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x6c]
push dword [ebp + 8]
push eax
call fcn.0050d0b0
mov dword [esp + 0x7c], eax
add esp, 0x1c
mov al, byte [esp + 0x13]
cmp al, 0x71
je 0x50c63f
cmp al, 0x72
je 0x50c63f
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x30], edi
cmp dword [ebx + 0x10], edi
jg 0x50c502
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c502
mov edi, 1
mov dword [esp + 0x30], edi
jmp 0x50c536
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c549
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c581
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c594
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c5cc
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c5df
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c613
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x44], edx
cmp dword [ebx + 0x10], edx
jg 0x50c6b5
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c6b1
mov dword [esp + 0x44], 1
jmp 0x50c6ed
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x30], esi
cmp dword [ebx + 0x10], esi
jg 0x50c661
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c661
mov esi, 1
mov dword [esp + 0x30], esi
jmp 0x50c699
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
cmp byte [esp + 0x13], 0x72
jne 0x50c617
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], esi
jmp 0x50c7cb
mov edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x14]
lea ecx, [edx + edx*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c700
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c735
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
inc edx
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c748
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c780
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c793
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c7cb
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
cmp dword [ebx + 0x10], esi
jg 0x50c7ed
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c7ed
mov esi, 1
mov dword [esp + 0x1c], esi
jmp 0x50c826
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
inc edx
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x50c839
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c871
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x50c884
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c8bc
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x50c8cf
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c907
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov al, byte [esp + 0x13]
cmp al, 0x70
jne 0x50c91d
mov edi, esi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x20], esi
jmp 0x50ca34
cmp al, 0x72
jne 0x50c934
mov ecx, dword [ebx + 0xc]
mov edi, esi
inc esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
jmp 0x50ca7c
mov edi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], edi
jg 0x50c94e
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c94e
mov edi, 1
jmp 0x50c986
mov eax, dword [ebx + 0x14]
lea ecx, [edi + edi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c999
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50c9d1
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50c9ee
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50c9ee
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
jmp 0x50ca26
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
cmp byte [esp + 0x13], 0x6f
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x20], esi
jne 0x50ca7c
cmp dword [ebx + 0x10], esi
jg 0x50ca44
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50ca7c
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50ca8f
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cac7
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cada
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cb12
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cb25
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cb5d
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x64]
cmp edx, eax
jle 0x50cb72
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cb85
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cbbd
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cbd0
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cc08
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cc1b
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cc53
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cc66
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cc9e
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50ccb1
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cce9
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50ccfc
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cd34
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x50cd4d
mov eax, dword [esp + 0x54]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cd67
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50cd67
mov esi, 1
jmp 0x50cd9f
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx]
test edx, edx
je 0x50cde5
cmp byte [ecx + 0x1e], 0
jne 0x50cde5
test esi, esi
jns 0x50cdb6
mov esi, dword [ebx + 0xc]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.005363f0
mov eax, dword [esp + 0x50]
add esp, 4
test eax, eax
jne 0x50cddc
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x50ce30
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x50ce30
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x50ce30
test ecx, ecx
je 0x50ce17
cmp edx, dword [ecx + 0xf0]
jb 0x50ce17
cmp edx, dword [ecx + 0xf4]
jae 0x50ce17
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x50ce20
push edx
call fcn.00549d90
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x10], esi
jg 0x50ce5d
mov ecx, ebx
call fcn.00536b60
test eax, eax
je 0x50ce5d
mov esi, 1
jmp 0x50ce95
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx]
test edx, edx
je 0x50cedb
cmp byte [ecx + 0x1e], 0
jne 0x50cedb
test esi, esi
jns 0x50ceac
mov esi, dword [ebx + 0xc]
dec esi
lea eax, [esi + esi*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.005363f0
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x50ced2
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x50cf26
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x50cf26
mov edx, dword [esp + 0x38]
test edx, edx
je 0x50cf26
test ecx, ecx
je 0x50cf0d
cmp edx, dword [ecx + 0xf0]
jb 0x50cf0d
cmp edx, dword [ecx + 0xf4]
jae 0x50cf0d
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x50cf16
push edx
call fcn.00549d90
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
jg 0x50cf39
mov ecx, ebx
call fcn.00536b60
test eax, eax
jne 0x50cf6d
mov eax, dword [ebx + 0x14]
lea ecx, [esi + esi*4]
inc dword [ebx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [ebx + 0x6e], 0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x50cf89
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esi + 0x38]
jle 0x50cf89
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x50cfa2
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x50cfce
mov eax, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x50cfc0
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x50cfb7
push dword [ecx]
xor edx, edx
mov ecx, esi
call fcn.0050f0d0
add esp, 4
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x50d09d
mov esi, dword [esp + 0x58]
mov edx, edi
mov ecx, esi
call fcn.00510d00
test esi, esi
je 0x50d022
cmp edi, dword [esi + 0xf0]
jb 0x50d022
cmp edi, dword [esi + 0xf4]
jae 0x50d022
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov eax, dword [esp + 0x28]
mov dword [esi + 0xec], edi
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x586ed0], 0
je 0x50d093
mov eax, dword [0x589800]
test eax, eax
je 0x50d03e
push eax
call dword [0x586f18]
add esp, 4
push edi
call dword [0x586ef4]
mov ecx, dword [0x589688]
neg eax
add ecx, eax
add esp, 4
mov dword [0x589688], ecx
cmp ecx, dword [0x5896ac]
jle 0x50d066
mov dword [0x5896ac], ecx
push edi
call dword [0x586eec]
mov eax, dword [0x589800]
add esp, 4
test eax, eax
je 0x50d09d
push eax
call dword [0x586f20]
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [ebx + 0x1c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x586eec]
add esp, 4
mov eax, dword [esp + 0x28]
pop edi
mov dword [ebx + 0x1c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret