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

Disassembly:
push 0xffffffffffffffff
push 0x5db8de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov al, byte [esp + 0xf]
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1fc], edi
call fcn.00558060
lea ecx, [esp + 0x18]
mov byte [esp + 0x1fc], 1
call fcn.00558060
mov cl, byte [esp + 0x1f]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x24], esp
push edi
mov byte [esp + 0x210], 2
mov byte [ebx], cl
mov ecx, ebx
call fcn.00401850
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004018c0
test al, al
je 0x50b6e2
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x7c]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
push 0
lea ecx, [esp + 0x50]
call fcn.00542e70
push 0xa
mov ecx, esi
mov byte [esp + 0x200], 3
call fcn.00509f70
test ax, ax
jge 0x50b7bb
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 4
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x200], 2
call fcn.00401850
lea ecx, [esp + 0x18]
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp edi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov ebx, eax
je 0x50b7ad
push 0
mov ecx, edi
call fcn.004e70e0
add edi, 0x1c
cmp edi, ebx
jne 0x50b799
mov edi, dword [esp + 0x30]
push edi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
jne 0x50b873
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 5
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x60e030
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x200], 2
call fcn.00401850
lea ecx, [esp + 0x18]
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov edi, eax
je 0x50b865
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50b853
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
movsx cx, byte [0x60e5f0]
mov al, byte [esi + 0x2a]
push ecx
push 0x60e5f1
lea ecx, [esp + 0x18]
mov byte [0x60e5f2], al
call fcn.00558600
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00558070
mov ecx, esi
call fcn.00504f50
test ax, ax
jg 0x50b96a
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 6
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x200], 2
call fcn.00401850
lea ecx, [esp + 0x18]
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov edi, eax
je 0x50b95c
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50b94a
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
xor esi, esi
push 0xff
lea ecx, [esp + 0xf8]
push 0x609488
push ecx
call fcn.005bcf3d
mov dl, byte [esp + 0x2b]
push ecx
mov ebp, esp
mov dword [esp + 0x24], esp
push esi
mov ecx, ebp
mov byte [ebp], dl
call fcn.00401850
lea edi, [esp + 0x104]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x50b9e1
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor esi, esi
mov byte [ebx], 0
sub esp, 0x10
lea edx, [esp + 0x3f]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
push 0x60af04
mov byte [esp + 0x224], 7
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x92]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x60cf40
mov byte [esp + 0x234], 8
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0x97]
mov ecx, esp
mov dword [esp + 0xa4], esp
push edx
push 0x619c18
mov byte [esp + 0x244], 9
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x24c], 0xa
mov edi, esp
mov dword [esp + 0xa0], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x60df70
call fcn.00558100
push edi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x25c], 0xb
mov edi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x60df70
call fcn.00558100
push edi
call fcn.00560f40
add esp, 8
lea eax, [esp + 0xe0]
mov ecx, 0x619a58
mov byte [esp + 0x25c], 3
push eax
call fcn.00543d00
mov edx, dword [0x5e5150]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x40], cx
push esi
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x208], 0xc
call fcn.004120f0
mov eax, dword [esp + 0x88]
mov byte [esp + 0x1fc], 3
cmp eax, esi
je 0x50bb1f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50bb16
cmp al, 0xff
je 0x50bb16
dec al
mov byte [ecx], al
jmp 0x50bb1f
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.00551f50
cmp ax, 1
jne 0x50b96c
lea eax, [esp + 0x80]
lea ecx, [esp + 0x3c]
push eax
call fcn.00542fb0
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x50bb64
mov eax, 0x5e514c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x84]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x50bbb2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50bba9
cmp al, 0xff
je 0x50bba9
dec al
mov byte [ecx], al
jmp 0x50bbb2
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xf4]
push ecx
call fcn.005bd3b2
add esp, 4
mov byte [esp + 0x70], al
mov dword [esp + 0x7c], 0xffffffff
xor ebx, ebx
or ebp, 0xffffffff
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x60e0f8
call fcn.00558100
push esi
call fcn.00560f40
mov ecx, dword [0x619a64]
add esp, 8
call fcn.005482f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60dfc0
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60e0e8
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60df90
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
mov edi, dword [esp + 0x70]
lea eax, [esp + 0xf4]
mov edx, edi
and edx, 0xff
push edx
push 0x609488
push eax
call fcn.005bcf3d
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea edx, [esp + 0x6b]
mov ecx, esp
mov dword [esp + 0x64], esp
lea eax, [esp + 0x108]
push edx
push eax
mov byte [esp + 0x218], 0xd
call fcn.00404ee0
push ecx
mov byte [esp + 0x214], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60df58
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x214], 3
call fcn.00548740
mov ecx, dword [0x619a64]
call fcn.00548950
push 0xa
mov esi, eax
call fcn.00401520
add esp, 4
cmp si, 2
je 0x50ca32
movsx eax, si
sub eax, ebx
je 0x50bd19
dec eax
je 0x50bf48
jmp 0x50bbd3
push 0xff
lea ecx, [esp + 0xf8]
push 0x609488
push ecx
call fcn.005bcf3d
mov al, byte [esp + 0x63]
push ecx
mov edx, esp
lea edi, [esp + 0x104]
mov ecx, ebp
mov dword [esp + 0x34], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x108]
push ecx
mov ecx, edx
call fcn.004017b0
sub esp, 0x10
lea edx, [esp + 0x82]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
push 0x60af04
mov byte [esp + 0x224], 0xf
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x4f]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push 0x60cf40
mov byte [esp + 0x234], 0x10
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0xb5]
mov ecx, esp
mov dword [esp + 0x9c], esp
push edx
push 0x619c18
mov byte [esp + 0x244], 0x11
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x24c], 0x12
mov esi, esp
mov dword [esp + 0xb4], esp
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x25c], 0x13
mov esi, esp
mov dword [esp + 0x80], esp
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
add esp, 8
lea eax, [esp + 0x118]
mov byte [esp + 0x25c], 3
push eax
mov ecx, 0x619a58
call fcn.00543d00
mov edx, dword [0x5e5150]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x40], cx
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x208], 0x14
call fcn.004120f0
mov eax, dword [esp + 0xc0]
mov byte [esp + 0x1fc], 3
cmp eax, ebx
je 0x50be9d
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x50be94
cmp cl, 0xff
je 0x50be94
dec cl
mov byte [eax], cl
jmp 0x50be9d
push eax
call fcn.005bc500
add esp, 4
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
call fcn.00542fb0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x50becf
mov edi, 0x5e514c
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xac]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x50bf1a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50bf11
cmp al, 0xff
je 0x50bf11
dec al
mov byte [ecx], al
jmp 0x50bf1a
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xf4]
mov dword [esp + 0xac], ebx
push ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.005bd3b2
add esp, 4
mov byte [esp + 0x70], al
jmp 0x50bbd3
movsx cx, byte [0x60e608]
mov esi, dword [esp + 0x6c]
mov al, byte [esp + 0x70]
push ecx
push 0x60e609
mov dl, byte [esi + 0x2a]
lea ecx, [esp + 0x18]
mov byte [0x60e60a], dl
mov byte [0x60e610], al
call fcn.00558600
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00558070
mov ecx, esi
call fcn.00504f50
cmp ax, bx
jle 0x50caba
mov eax, edi
mov dword [esp + 0x64], ebx
and eax, 0xff
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x14], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60e0f8
call fcn.00558100
push esi
call fcn.00560f40
mov ecx, dword [0x619a64]
add esp, 8
call fcn.005482f0
mov eax, dword [esp + 0x64]
test ax, ax
jne 0x50bff9
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60e0d8
jmp 0x50c047
cmp ax, 1
jne 0x50c031
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60e0d8
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60e0c8
jmp 0x50c047
cmp ax, 2
jne 0x50c057
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60e0b8
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60df90
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xf4]
push ecx
push 0x609488
push edx
call fcn.005bcf3d
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x108]
push eax
push edx
mov byte [esp + 0x218], 0x16
call fcn.00404ee0
push ecx
mov byte [esp + 0x214], 0x17
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60df58
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x214], 3
call fcn.00548740
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov ebx, eax
mov edi, ecx
mov esi, eax
je 0x50c119
push 0
mov ecx, esi
call fcn.004e70e0
add esi, 0x1c
cmp esi, edi
jne 0x50c109
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x7c]
push eax
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x40], ebx
call fcn.0050b210
test ax, ax
jle 0x50cb85
movsx eax, word [esp + 0x7c]
push eax
lea ecx, [esp + 0xf8]
push 0x609488
push ecx
call fcn.005bcf3d
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x108]
push edx
push eax
mov byte [esp + 0x218], 0x19
call fcn.00404ee0
push ecx
mov byte [esp + 0x214], 0x1a
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60e0d0
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x214], 3
call fcn.00548740
mov eax, dword [esp + 0x5c]
test ax, ax
jl 0x50c246
movsx ecx, ax
push ecx
lea edx, [esp + 0xf8]
push 0x609488
push edx
call fcn.005bcf3d
add esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea eax, [esp + 0x7f]
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x108]
push eax
push edx
mov byte [esp + 0x218], 0x1b
call fcn.00404ee0
push ecx
mov byte [esp + 0x214], 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60e0c0
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x214], 3
call fcn.00548740
xor esi, esi
xor ebx, ebx
mov edi, dword [esp + 0x30]
test edi, edi
je 0x50c350
mov ecx, dword [esp + 0x34]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x50c350
mov al, byte [edi + ebx]
push esi
cmp al, 1
lea ecx, [esp + 0x30]
jne 0x50c2e0
call fcn.004e6470
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00558070
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0x1d
call fcn.004e6470
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00411fd0
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x214], 0x1e
call fcn.004e6470
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call fcn.00558070
jmp 0x50c334
call fcn.004e6470
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00558070
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x204], 0x1f
call fcn.004e6470
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00411fd0
push ecx
mov byte [esp + 0x214], 0x20
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60df50
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x214], 3
call fcn.00548740
inc esi
add ebx, 0x1c
jmp 0x50c24a
mov ecx, dword [0x619a64]
call fcn.00548950
push 0xa
mov esi, eax
call fcn.00401520
mov eax, dword [esp + 0x68]
xor edi, edi
add esp, 4
cmp ax, di
jne 0x50c605
cmp si, 1
je 0x50cc5a
cmp si, di
jne 0x50bfae
push 0xffff
lea ecx, [esp + 0xf8]
push 0x609488
push ecx
call fcn.005bcf3d
mov dl, byte [esp + 0x77]
push ecx
mov ebp, esp
xor esi, esi
lea edi, [esp + 0x104]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x30], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x50c3fe
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004018a0
xor esi, esi
sub esp, 0x10
lea edx, [esp + 0x97]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push 0x60af04
mov byte [esp + 0x224], 0x22
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0xa9]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
push 0x60cf40
mov byte [esp + 0x234], 0x23
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0xa3]
mov ecx, esp
mov dword [esp + 0xd4], esp
push edx
push 0x619c18
mov byte [esp + 0x244], 0x24
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x24c], 0x25
mov edi, esp
mov dword [esp + 0xa8], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x60e0d8
call fcn.00558100
push edi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x25c], 0x26
mov edi, esp
mov dword [esp + 0x88], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x60e0d8
call fcn.00558100
push edi
call fcn.00560f40
add esp, 8
lea eax, [esp + 0x140]
mov ecx, 0x619a58
mov byte [esp + 0x25c], 3
push eax
call fcn.00543d00
mov edx, dword [0x5e5150]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x40], cx
push esi
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x208], 0x27
call fcn.004120f0
mov eax, dword [esp + 0xe8]
mov byte [esp + 0x1fc], 3
cmp eax, esi
je 0x50c53c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50c533
cmp al, 0xff
je 0x50c533
dec al
mov byte [ecx], al
jmp 0x50c53c
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
call fcn.00551f50
cmp ax, 2
je 0x50bfae
lea eax, [esp + 0x98]
lea ecx, [esp + 0x3c]
push eax
call fcn.00542fb0
mov edi, dword [eax + 4]
test edi, edi
jne 0x50c581
mov edi, 0x5e514c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x9c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x50c5cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50c5c6
cmp al, 0xff
je 0x50c5c6
dec al
mov byte [ecx], al
jmp 0x50c5cf
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xf4]
mov dword [esp + 0x9c], esi
push ecx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
call fcn.005bd3b2
add esp, 4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 1
jmp 0x50bfae
cmp ax, 1
jne 0x50c9b5
cmp si, 2
je 0x50cdf8
movsx eax, si
sub eax, edi
je 0x50c68e
dec eax
jne 0x50bfae
mov dl, byte [ebp + 0x2a]
mov eax, dword [esp + 0x5c]
mov byte [0x60e616], dl
mov ecx, eax
movsx dx, byte [0x60e614]
sar ecx, 8
mov byte [0x60e61c], cl
push edx
push 0x60e615
lea ecx, [esp + 0x18]
mov byte [0x60e61d], al
call fcn.00558600
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
mov ecx, ebp
call fcn.00504f50
cmp ax, di
jle 0x50d001
mov dword [esp + 0x64], 2
jmp 0x50bfae
push 0xffff
lea eax, [esp + 0xf8]
push 0x609488
push eax
call fcn.005bcf3d
push ecx
mov cl, byte [esp + 0x73]
mov ebp, esp
xor eax, eax
lea edi, [esp + 0x104]
mov dword [esp + 0x38], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x50c702
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
sub esp, 0x10
lea eax, [esp + 0x96]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
push 0x60af04
mov byte [esp + 0x224], 0x2d
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0xab]
mov ecx, esp
mov dword [esp + 0xc4], esp
push edx
push 0x60cf40
mov byte [esp + 0x234], 0x2e
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0xba]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
push 0x619c18
mov byte [esp + 0x244], 0x2f
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x24c], 0x30
mov esi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0xa4], esp
push 6
push 0x60e0d8
call fcn.00558100
push esi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x25c], 0x31
mov esi, esp
mov dword [esp + 0xb0], esp
push ecx
mov ecx, esp
mov dword [esp + 0xb4], esp
push 6
push 0x60e0d8
call fcn.00558100
push esi
call fcn.00560f40
add esp, 8
lea ecx, [esp + 0x12c]
mov byte [esp + 0x25c], 3
push ecx
mov ecx, 0x619a58
call fcn.00543d00
mov dx, word [eax]
mov ecx, dword [0x5e5150]
lea esi, [eax + 4]
mov word [esp + 0x3c], dx
mov byte [esp + 0x1fc], 0x32
mov eax, dword [esi + 8]
mov ebp, eax
cmp ecx, ebp
jae 0x50c80c
mov ebp, ecx
lea edx, [esp + 0x40]
cmp edx, esi
jne 0x50c831
push ecx
push ebp
lea ecx, [esp + 0x48]
call fcn.00421610
xor ebx, ebx
lea ecx, [esp + 0x40]
push ebx
push ebx
call fcn.00421610
jmp 0x50c8bc
xor ebx, ebx
cmp ebp, ebx
jbe 0x50c880
cmp ebp, eax
jne 0x50c880
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x50c847
mov eax, 0x5e514c
cmp byte [eax - 1], 0xfe
jae 0x50c880
push 1
lea ecx, [esp + 0x44]
call fcn.00401850
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x50c864
mov eax, 0x5e514c
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x48], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x4c], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x50c8bc
push 1
push ebp
lea ecx, [esp + 0x48]
call fcn.004018c0
test al, al
je 0x50c8bc
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x50c89c
mov esi, 0x5e514c
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x1fc], 3
cmp eax, ebx
je 0x50c8ec
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50c8e3
cmp al, 0xff
je 0x50c8e3
dec al
mov byte [ecx], al
jmp 0x50c8ec
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.00551f50
cmp ax, 2
je 0x50bfae
lea edx, [esp + 0x80]
lea ecx, [esp + 0x3c]
push edx
call fcn.00542fb0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x50c933
mov edi, 0x5e514c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x84]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x50c97f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50c976
cmp al, 0xff
je 0x50c976
dec al
mov byte [ecx], al
jmp 0x50c97f
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xf4]
mov dword [esp + 0x84], ebx
push ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call fcn.005bd3b2
add esp, 4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 1
jmp 0x50bfae
cmp si, 1
je 0x50d105
cmp si, di
je 0x50c9d3
cmp ax, 3
je 0x50bbce
jmp 0x50bfae
mov dl, byte [ebp + 0x2a]
mov eax, dword [esp + 0x5c]
mov byte [0x60e622], dl
mov ecx, eax
movsx dx, byte [0x60e620]
sar ecx, 8
mov byte [0x60e628], cl
push edx
push 0x60e621
lea ecx, [esp + 0x18]
mov byte [0x60e629], al
call fcn.00558600
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
mov ecx, ebp
call fcn.00504f50
cmp ax, di
jle 0x50d3b3
jmp 0x50bbce
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x50ca57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50ca4e
cmp al, 0xff
je 0x50ca4e
dec al
mov byte [ecx], al
jmp 0x50ca57
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], ebp
mov edi, eax
je 0x50caac
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50ca9a
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x15
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x50cb22
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50cb19
cmp al, 0xff
je 0x50cb19
dec al
mov byte [ecx], al
jmp 0x50cb22
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], ebp
mov edi, eax
je 0x50cb77
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50cb65
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x18
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x50cbee
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50cbe5
cmp al, 0xff
je 0x50cbe5
dec al
mov byte [ecx], al
jmp 0x50cbee
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov edi, eax
je 0x50cc49
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50cc37
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
xor ax, ax
jmp 0x50d4cf
movsx cx, byte [0x60e634]
mov al, byte [ebp + 0x2a]
push ecx
push 0x60e635
lea ecx, [esp + 0x18]
mov byte [0x60e636], al
call fcn.00558600
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00558070
mov ecx, ebp
call fcn.00504f50
cmp ax, di
jg 0x50cd6e
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x21
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x50cd07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50ccfe
cmp al, 0xff
je 0x50ccfe
dec al
mov byte [ecx], al
jmp 0x50cd07
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov edi, eax
je 0x50cd60
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50cd4e
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x50cd91
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x50cd88
cmp al, 0xff
je 0x50cd88
dec al
mov byte [ecx], al
jmp 0x50cd91
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x1fc], 0xffffffff
mov edi, eax
je 0x50cdea
mov ecx, esi
call fcn.004e2e40
add esi, 0x1c
cmp esi, edi
jne 0x50cdd8
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
movsx dx, byte [0x60e634]
mov cl, byte [ebp + 0x2a]
push edx
mov byte [0x60e636], cl
push 0x60e635
lea ecx, [esp + 0x18]
call fcn.00558600
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
mov ecx, ebp
call fcn.00504f50
cmp ax, di
jg 0x50cf42
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x28
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x50cea6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50ce9d
cmp al, 0xff
je 0x50ce9d
dec al
mov byte [ecx], al
jmp 0x50cea6
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x14], esi
je 0x50cf34
mov bl, 0x29
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x200], 0x2a
call fcn.00401850
lea ecx, [esi + 8]
mov byte [esp + 0x1fc], bl
call fcn.005581a0
lea ecx, [esi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x50cef2
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x50cf65
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x50cf5c
cmp al, 0xff
je 0x50cf5c
dec al
mov byte [ecx], al
jmp 0x50cf65
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x14], esi
je 0x50cff3
mov bl, 0x2b
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x200], 0x2c
call fcn.00401850
lea ecx, [esi + 8]
mov byte [esp + 0x1fc], bl
call fcn.005581a0
lea ecx, [esi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x50cfb1
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x33
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x50d069
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50d060
cmp al, 0xff
je 0x50d060
dec al
mov byte [ecx], al
jmp 0x50d069
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x14], esi
je 0x50d0f7
mov bl, 0x34
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x200], 0x35
call fcn.00401850
lea ecx, [esi + 8]
mov byte [esp + 0x1fc], bl
call fcn.005581a0
lea ecx, [esi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x50d0b5
mov esi, dword [esp + 0x30]
push esi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
movsx cx, byte [0x60e634]
mov al, byte [ebp + 0x2a]
push ecx
push 0x60e635
lea ecx, [esp + 0x18]
mov byte [0x60e636], al
call fcn.00558600
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00558070
mov ecx, ebp
call fcn.00504f50
cmp ax, di
jg 0x50d2a1
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x36
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x50d1b2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50d1a9
cmp al, 0xff
je 0x50d1a9
dec al
mov byte [ecx], al
jmp 0x50d1b2
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp edi, eax
mov dword [esp + 0x1fc], ebp
mov ebx, eax
mov dword [esp + 0x14], edi
je 0x50d293
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
test eax, eax
mov dword [esp + 0x1fc], 0x38
je 0x50d256
push eax
mov ecx, esi
call fcn.0044c9c0
cmp byte [eax], 0
je 0x50d243
mov ecx, dword [esi + 4]
push ecx
mov ecx, esi
call fcn.0044c9c0
cmp byte [eax], 0xff
je 0x50d243
mov edx, dword [esi + 4]
mov ecx, esi
push edx
call fcn.0044c9c0
dec byte [eax]
jmp 0x50d256
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
add eax, 2
dec ecx
push eax
push ecx
mov ecx, esi
call fcn.005107f0
xor eax, eax
lea ecx, [edi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x1fc], 0x37
call fcn.005581a0
lea ecx, [edi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add edi, 0x1c
cmp edi, ebx
mov dword [esp + 0x14], edi
jne 0x50d202
mov edi, dword [esp + 0x30]
push edi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x50d2c4
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x50d2bb
cmp al, 0xff
je 0x50d2bb
dec al
mov byte [ecx], al
jmp 0x50d2c4
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp edi, eax
mov dword [esp + 0x1fc], ebp
mov ebx, eax
mov dword [esp + 0x14], edi
je 0x50d3a5
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
test eax, eax
mov dword [esp + 0x1fc], 0x3a
je 0x50d368
push eax
mov ecx, esi
call fcn.0044c9c0
cmp byte [eax], 0
je 0x50d355
mov edx, dword [esi + 4]
mov ecx, esi
push edx
call fcn.0044c9c0
cmp byte [eax], 0xff
je 0x50d355
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.0044c9c0
dec byte [eax]
jmp 0x50d368
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
add ecx, 2
dec edx
push ecx
push edx
mov ecx, esi
call fcn.005107f0
xor eax, eax
lea ecx, [edi + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esp + 0x1fc], 0x39
call fcn.005581a0
lea ecx, [edi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add edi, 0x1c
cmp edi, ebx
mov dword [esp + 0x14], edi
jne 0x50d314
mov edi, dword [esp + 0x30]
push edi
call fcn.005bc500
add esp, 4
jmp 0x50d4cb
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x20c], 0x3b
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x20c], 3
call fcn.00543af0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x50d41b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x50d412
cmp al, 0xff
je 0x50d412
dec al
mov byte [ecx], al
jmp 0x50d41b
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1fc], 1
call fcn.005581a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call fcn.005581a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1fc], ebp
mov dword [esp + 0x14], esi
je 0x50d4a7
mov bl, 0x3c
lea ecx, [esi + 0xc]
mov dword [esp + 0x1fc], 0x3d
call fcn.0056b300
lea ecx, [esi + 8]
mov byte [esp + 0x1fc], bl
call fcn.005581a0
lea ecx, [esi + 4]
mov dword [esp + 0x1fc], ebp
call fcn.005581a0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x50d467
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
lea ecx, [esp + 0x2c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push esi
call fcn.005107f0
mov ax, 1
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1f0
ret