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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d68e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x86c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x3c], edi
call fcn.00496190
xor ebx, ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x880], ebx
call fcn.004974f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x880], 1
call fcn.0048a5e0
mov byte [esp + 0x13], bl
mov al, byte [esp + 0x13]
mov byte [esp + 0x18], al
xor esi, esi
xor eax, eax
mov byte [esp + 0xa8], 0xff
mov dword [esp + 0x9c], 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x880], 3
cmp dword [ecx + 0x18c], ebx
jne 0x4c591f
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x34], ebx
cmp ecx, ebx
jle 0x4c58ba
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea eax, [esp + 0x88]
mov edx, esp
mov dword [esp + 0x38], esp
push 0
push eax
push edx
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c5860
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0xbc], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00495de0
test eax, eax
jge 0x4c57f0
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x8a4], 4
push ecx
lea ecx, [esi + 0x10]
call fcn.0048bd10
sub esp, 0x10
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0xcc], esp
push edx
mov byte [esp + 0x8b8], 5
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 3
call fcn.004bd2d0
mov eax, dword [esp + 0xa8]
push ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x70]
sub esp, 0x10
mov dword [esp + 0x44], 0
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00493160
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.004ca3a0
and eax, 0xffff
jne 0x4c58e4
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4c578e
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, eax
mov byte [esp + 0x880], 2
mov edi, eax
je 0x4c74e1
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c58cc
mov esi, dword [esp + 0x1c]
jmp 0x4c74e1
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4c58ee
mov word [ecx], ax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c5918
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c5904
jmp 0x4c7f3c
xor ebx, ebx
jmp 0x4c7f40
lea ecx, [esp + 0x9c]
lea edx, [esp + 0xa8]
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x68]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004c2af0
mov esi, eax
call fcn.004a1d60
test al, al
je 0x4c61a6
mov ebx, dword [ebp + 0xc]
xor edi, edi
cmp ebx, edi
je 0x4c6165
push 0x54f18c
push str.debug.txt
call fcn.00515490
add esp, 8
cmp eax, edi
mov dword [esp + 0x2c], eax
je 0x4c5fb3
push eax
lea edx, [esp + 0xf4]
push 0xff
push edx
call fcn.00515ea5
add esp, 0xc
test eax, eax
je 0x4c5fa1
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x8c], al
call fcn.00405cc0
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x8c]
push ebx
call fcn.00408220
test al, al
je 0x4c5a01
mov edi, dword [esp + 0x8c]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xf0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00408200
mov edi, str.RETURNFRAME
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x880], 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.RETURNFRAME
lea ecx, [esp + 0x94]
call fcn.004ab270
cmp eax, dword [0x531160]
je 0x4c5f69
mov al, byte [esp + 0x13]
mov byte [esp + 0x74], al
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push eax
push eax
push eax
mov byte [esp + 0x88c], 7
call fcn.00415780
mov ecx, dword [esp + 0x88]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.00405f70
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push edx
push 0xff
push eax
mov dword [esp + 0x88], esi
call fcn.00515ea5
add esp, 0xc
test eax, eax
je 0x4c5dff
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x8c]
push ebx
call fcn.00408220
test al, al
je 0x4c5af1
mov edi, dword [esp + 0x8c]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xf0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00408200
lea ecx, [esp + 0x98]
call fcn.0048a5e0
push 1
lea eax, [esp + 0x17]
push 0
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x88c], 8
mov byte [esp + 0x1f], 0x20
call fcn.004ab270
mov esi, eax
mov eax, dword [0x531160]
cmp esi, eax
je 0x4c5c14
mov eax, dword [esp + 0x90]
mov ebx, 1
cmp eax, esi
jae 0x4c5b4a
call fcn.00514440
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x4c5b9d
mov cl, byte [edi - 1]
test cl, cl
je 0x4c5b9d
cmp cl, 0xff
je 0x4c5b9d
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], edi
call fcn.00405cc0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x90]
call fcn.00408160
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov ecx, eax
sub ecx, esi
cmp ecx, 1
jae 0x4c5bac
mov ebx, ecx
test ebx, ebx
jbe 0x4c5beb
sub eax, ebx
lea ecx, [ebx + edi]
sub eax, esi
add ecx, esi
add esi, edi
push eax
push ecx
push esi
call fcn.00514bd0
mov esi, dword [esp + 0x9c]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x88]
push 0
push esi
call fcn.00408220
test al, al
je 0x4c5beb
push esi
lea ecx, [esp + 0x8c]
call fcn.00408200
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f], 0x20
call fcn.004ab270
mov esi, eax
mov eax, dword [0x531160]
cmp esi, eax
jne 0x4c5b2e
push 1
lea eax, [esp + 0x17]
push 0
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f], 0xa
call fcn.004ab270
mov esi, eax
mov eax, dword [0x531160]
cmp esi, eax
je 0x4c5cfa
mov eax, dword [esp + 0x90]
mov ebx, 1
cmp eax, esi
jae 0x4c5c59
call fcn.00514440
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x4c5ca5
mov cl, byte [edi - 1]
test cl, cl
je 0x4c5ca5
cmp cl, 0xff
je 0x4c5ca5
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], edi
call fcn.00405cc0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x90]
call fcn.00408160
mov eax, dword [esp + 0x90]
mov ecx, eax
sub ecx, esi
cmp ecx, 1
jae 0x4c5cb4
mov ebx, ecx
test ebx, ebx
jbe 0x4c5d01
mov edx, dword [esp + 0x8c]
sub eax, ebx
sub eax, esi
lea ecx, [edx + ebx]
push eax
add ecx, esi
add esi, edx
push ecx
push esi
call fcn.00514bd0
mov esi, dword [esp + 0x9c]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x88]
push 0
push esi
call fcn.00408220
test al, al
je 0x4c5cfa
push esi
lea ecx, [esp + 0x8c]
call fcn.00408200
mov eax, dword [esp + 0x90]
xor ebx, ebx
test eax, 0xfffffffe
mov dword [esp + 0x28], ebx
jbe 0x4c5dae
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x84], edx
mov esi, edx
cmp eax, ebx
mov edi, 2
jae 0x4c5d33
call fcn.00514440
mov eax, dword [esp + 0x90]
sub eax, ebx
cmp eax, 2
jae 0x4c5d40
mov edi, eax
test edi, edi
jbe 0x4c5d65
mov eax, dword [esp + 0x8c]
mov ecx, edi
mov edx, ecx
lea edi, [esp + 0x30]
lea esi, [eax + ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x84]
push esi
lea eax, [esp + 0x34]
push str._02x
push eax
add ebx, 2
call fcn.00515e71
mov cl, byte [esi]
add esp, 0xc
push ecx
lea ecx, [esp + 0x9c]
call fcn.0048a8b0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x28]
mov edx, eax
inc ecx
shr edx, 1
inc esi
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x84], esi
jb 0x4c5d1e
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x98]
push eax
push 1
push ecx
lea ecx, [esp + 0x80]
call fcn.00405d10
lea ecx, [esp + 0x98]
mov byte [esp + 0x880], 7
call fcn.0048a720
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push edx
push 0xff
push eax
call fcn.00515ea5
add esp, 0xc
test eax, eax
jne 0x4c5aa0
mov ebx, dword [ebp + 0x20]
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.00497860
mov edi, dword [esp + 0x3c]
mov dl, byte [esp + 0xa8]
mov al, byte [esp + 0x64]
sub esp, 0x10
mov esi, esp
mov byte [edi + 0x1c], dl
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], esp
mov byte [esi], al
call fcn.004e26e0
test eax, eax
jge 0x4c5e3a
xor eax, eax
lea ecx, [eax*8]
push ecx
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x7c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x7c]
push edx
push eax
call fcn.00497390
lea ecx, [edi + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.004961f0
lea ecx, [esp + 0xcc]
call fcn.00496190
mov cl, byte [esp + 0x64]
sub esp, 0x10
mov esi, esp
mov byte [esp + 0x890], 9
mov dword [esp + 0x24], esp
mov byte [esi], cl
lea ecx, [esp + 0x74]
call fcn.004e26e0
test eax, eax
jge 0x4c5e9f
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.00497390
lea ecx, [esp + 0xdc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.004961f0
mov dl, byte [esp + 0xa8]
sub esp, 0x10
lea eax, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0xf0], dl
lea esi, [ebx + 0x10]
call fcn.00493160
mov ecx, esi
call fcn.004961f0
mov cl, byte [esp + 0xdc]
mov byte [esp + 0x880], 7
mov byte [esi + 0x10], cl
lea ecx, [esp + 0xcc]
call fcn.004961b0
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
cmp esi, eax
mov byte [esp + 0x880], 6
mov edi, eax
je 0x4c5f4f
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c5f3b
mov esi, dword [esp + 0x78]
push esi
call fcn.00514120
add esp, 4
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x884], 3
call fcn.00405cc0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
push edx
push 0xff
push eax
call fcn.00515ea5
add esp, 0xc
test eax, eax
jne 0x4c5997
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00515393
mov ebx, dword [ebp + 0xc]
add esp, 4
jmp 0x4c601b
mov edx, dword [0x55ebe0]
mov eax, 0x24
and edx, 0xff
mov edi, ebx
sub eax, edx
mov ecx, eax
lea esi, [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZOffset:]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x55ebe0]
lea edi, [eax + ebx]
and ecx, 0xff
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZOffset:
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 al, byte [0x55ebe0]
mov ecx, 0x24
inc al
and eax, 0xff
div ecx
mov byte [0x55ebe0], dl
lea ecx, [esp + 0x34]
xor edi, edi
call fcn.0048a5e0
push 0x24
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x888], 0xa
call fcn.0048ac30
mov dl, byte [esp + 0x13]
mov dword [esp + 0xc0], edi
mov byte [esp + 0xbc], dl
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
lea eax, [esp + 0x34]
mov bl, 0xb
push eax
push 1
push edi
lea ecx, [esp + 0xc8]
mov byte [esp + 0x88c], bl
call fcn.00405d10
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x44]
call fcn.00497860
cmp dword [ebp + 0x20], edi
je 0x4c60fa
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esi
mov byte [esi], dl
call fcn.00495de0
cmp eax, edi
jge 0x4c60af
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0xc
call fcn.0048bd10
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x8a4], bl
call fcn.004976a0
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x4c6106
mov word [eax], 0x24
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
cmp esi, ebx
mov byte [esp + 0x880], 0xa
je 0x4c6136
push edi
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, ebx
jne 0x4c6120
mov esi, dword [esp + 0xc0]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
mov byte [esp + 0x880], 3
call fcn.0048a720
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov byte [esp + 0x880], 2
je 0x4c618c
push edi
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, ebx
jne 0x4c6179
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
jmp 0x4c7f55
cmp esi, 1
jne 0x4c7e24
mov dword [esp + 0x9c], ebx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x28], ebx
cmp eax, ebx
jle 0x4c631f
lea ecx, [esp + 0x40]
call fcn.00497af0
lea ecx, [esp + 0x64]
call fcn.00496d20
mov ecx, dword [edi + 0x60]
mov esi, eax
call fcn.004d0720
cmp eax, 3
je 0x4c6200
mov ecx, dword [edi + 0x60]
call fcn.004d0720
cmp eax, 9
je 0x4c6200
mov ecx, dword [edi + 0x60]
call fcn.004d0720
cmp eax, 8
jne 0x4c6221
cmp si, 1
jle 0x4c6221
sub esp, 0x24
lea ecx, [esp + 0x88]
mov eax, esp
mov dword [esp + 0x38], esp
push ecx
push eax
mov ecx, edi
call fcn.004cc8c0
jmp 0x4c623e
sub esp, 0x24
lea eax, [esp + 0x88]
mov edx, esp
mov dword [esp + 0x38], esp
push ebx
push eax
push edx
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c62e3
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x58], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00495de0
cmp eax, ebx
jge 0x4c6276
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x8a4], 0xd
push ecx
lea ecx, [esi + 0x10]
call fcn.0048bd10
sub esp, 0x10
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x8b8], 0xe
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 3
call fcn.004bd2d0
mov ecx, dword [ebp + 8]
call fcn.004d0720
test eax, eax
je 0x4c741d
cmp dword [ebp + 0x10], 1
je 0x4c741d
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
jne 0x4c631f
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4c61c5
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
je 0x4c7449
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xa8]
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0xb8], 0
call fcn.00493160
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.004ca3a0
and eax, 0xffff
mov ebx, eax
mov eax, dword [ebp + 0x20]
test eax, eax
mov dword [esp + 0x34], ebx
je 0x4c6424
mov edx, eax
sub esp, 0x10
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
lea esi, [edx + 0x10]
call fcn.00493160
mov ecx, esi
call fcn.004961f0
mov cl, byte [esp + 0x60]
mov byte [esi + 0x10], cl
mov ecx, dword [ebp + 0x20]
call fcn.00497af0
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c63d8
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0xf
call fcn.0048bd10
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x8a4], 3
call fcn.004976a0
mov ecx, dword [edi + 0x60]
call fcn.004d0720
cmp eax, 9
je 0x4c643e
mov ecx, dword [edi + 0x60]
call fcn.004d0720
cmp eax, 8
jne 0x4c644c
cmp dword [esp + 0x98], 1
je 0x4c7476
test ebx, ebx
je 0x4c74a4
mov al, byte [esp + 0xa8]
mov cl, byte [esp + 0x64]
sub esp, 0x10
mov byte [edi + 0x1c], al
mov esi, esp
mov dword [esp + 0x24], esp
mov byte [esi], cl
lea ecx, [esp + 0x74]
call fcn.004e26e0
test eax, eax
jge 0x4c647c
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push eax
push ecx
mov ecx, esi
call fcn.00497390
lea ecx, [edi + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.004961f0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c64be
mov edx, eax
mov word [edx], bx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4c7ec0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004d0730
cmp eax, 0xffffffff
jne 0x4c64e8
mov ecx, esi
call fcn.004d0740
cmp eax, 0xffffffff
je 0x4c7ec0
push 0
lea ecx, [esp + 0x44]
call fcn.00497a10
mov esi, eax
lea eax, [esp + 0x18]
cmp eax, esi
je 0x4c6616
mov edx, dword [esi + 4]
test edx, edx
jne 0x4c650c
xor eax, eax
jmp 0x4c6514
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x4c6520
xor ecx, ecx
jmp 0x4c6529
mov ecx, dword [esp + 0x20]
sub ecx, edi
sar ecx, 2
cmp eax, ecx
ja 0x4c6561
mov eax, dword [esi + 8]
push edi
push eax
push edx
call fcn.00415780
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00405f70
mov ecx, esi
call fcn.00405c90
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
jmp 0x4c6616
mov ecx, esi
call fcn.00405c90
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00407e10
cmp edi, eax
ja 0x4c65bf
mov edi, dword [esi + 4]
lea ecx, [esp + 0x18]
call fcn.00405c90
mov ecx, dword [esp + 0x1c]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.00415780
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
push edi
call fcn.004060b0
mov ecx, esi
call fcn.00405c90
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*4]
mov dword [esp + 0x20], edx
jmp 0x4c6616
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00405f70
mov edx, dword [esp + 0x1c]
push edx
call fcn.00514120
add esp, 4
mov ecx, esi
call fcn.00405c90
test eax, eax
jge 0x4c65ec
xor eax, eax
shl eax, 2
push eax
call fcn.00514b36
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x24]
call fcn.004060b0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0
lea ecx, [esp + 0x34]
call fcn.0048a610
mov byte [esp + 0x880], 0x10
xor edi, edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c667d
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x4c667d
lea ecx, [eax + edi*4]
xor esi, esi
call fcn.0048ab50
test ax, ax
jle 0x4c667a
mov edx, dword [esp + 0x1c]
push esi
lea ecx, [edx + edi*4]
call fcn.0048a9e0
push eax
lea ecx, [esp + 0x34]
call fcn.0048aa50
mov eax, dword [esp + 0x1c]
inc esi
lea ecx, [eax + edi*4]
call fcn.0048ab50
movsx ecx, ax
cmp esi, ecx
jl 0x4c664f
inc edi
jmp 0x4c662b
lea ecx, [esp + 0x30]
call fcn.0048ab70
mov ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c66ae
lea ecx, [esp + 0x30]
call fcn.0048ab50
mov edi, dword [ebp + 0xc]
mov esi, ebx
movsx ecx, ax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1f0]
call fcn.005037d0
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x11
mov eax, dword [esi + 0x5c]
push eax
call fcn.004df390
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xcc]
xor eax, eax
push ecx
mov ecx, edi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
call fcn.004d0740
push eax
mov ecx, edi
call fcn.004d0730
mov edx, dword [esp + 0x3c]
push eax
push edx
push ebx
lea ecx, [esp + 0x204]
call fcn.00503840
mov ecx, dword [esp + 0xd4]
test eax, eax
mov dword [esp + 0x28], ecx
jne 0x4c7ddc
test ecx, ecx
jne 0x4c674a
mov ecx, edi
call fcn.004d06f0
cmp eax, 0xffffffff
je 0x4c758b
jmp 0x4c6753
cmp ecx, 5
je 0x4c681d
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4c6766
mov ecx, 0x3f
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x4c6778
mov ecx, 9
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c6784
mov word [eax], 0
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4c6791
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esi + 0x60]
call fcn.004d0720
cmp eax, 9
jne 0x4c681d
test ebx, ebx
je 0x4c681d
mov edi, dword [ebp + 0x20]
mov ecx, edi
call fcn.00497af0
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c67ce
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0x13
call fcn.0048bd10
mov ecx, edi
mov byte [esp + 0x8a4], 0x11
call fcn.004976a0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 4
ja case.default.0x4c682b
jmp dword [eax*4 + 0x4c7fa8]
push 0
lea ecx, [esp + 0x30]
call fcn.0048a610
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.00496190
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a5e0
mov ecx, dword [esi + 0x60]
mov byte [esp + 0x880], 0x18
call fcn.004d0720
cmp eax, 3
je 0x4c705b
cmp eax, 9
je 0x4c6d6e
cmp eax, 0x28
je 0x4c705b
mov al, byte [esp + 0x13]
test al, al
jne 0x4c6c1c
lea ecx, [esp + 0x74]
call fcn.00496cd0
push 0xfe
lea ecx, [esp + 0x78]
call fcn.004968f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x78]
call fcn.004963e0
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push ecx
push eax
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c69a2
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c6929
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add esi, 0x10
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0x8a8], 0x22
call fcn.00493160
mov al, byte [esp + 0x84]
mov byte [esi + 0x10], al
sub esp, 0x10
lea edx, [esp + 0xa8]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x8b8], 0x23
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
je 0x4c6a19
lea ecx, [esp + 0xa0]
mov byte [esp + 0x13], 1
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
jmp 0x4c6331
lea eax, [esp + 0xbc]
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.004968b0
mov esi, eax
push ecx
mov byte [esp + 0x884], 0x24
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0xa4]
call fcn.0048a8d0
mov cx, word [esi + 4]
mov byte [esp + 0x880], 0x18
mov word [esp + 0xa4], cx
lea ecx, [esp + 0xbc]
call fcn.0048a720
push ecx
lea edx, [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x30]
call fcn.0048a8d0
lea ecx, [esp + 0x64]
call fcn.00496cd0
push 0xfe
lea ecx, [esp + 0x68]
call fcn.004968f0
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x68]
call fcn.004963e0
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x38], esp
push 0
push edx
push ecx
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c6ba1
mov al, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], esi
mov byte [esi], al
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4c6b19
xor eax, eax
jmp 0x4c6b22
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4c6b28
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add esi, 0x10
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov byte [esp + 0x8a8], 0x25
call fcn.00493160
mov cl, byte [esp + 0x84]
mov byte [esi + 0x10], cl
sub esp, 0x10
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x8b8], 0x26
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
je 0x4c7a0d
lea ecx, [esp + 0xa0]
mov byte [esp + 0x13], 2
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
jmp 0x4c6331
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
mov ecx, 0x55b398
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push eax
call fcn.004949e0
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c6cf8
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], esi
mov byte [esi], cl
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4c6c70
xor eax, eax
jmp 0x4c6c79
mov eax, dword [esp + 0x6c]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4c6c7f
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
add esi, 0x10
push ecx
mov ecx, esi
mov byte [esp + 0x8a8], 0x27
call fcn.00493160
mov dl, byte [esp + 0x84]
mov byte [esi + 0x10], dl
sub esp, 0x10
lea eax, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x8b8], 0x28
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
jle 0x4c7a0d
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
jmp 0x4c6331
mov ecx, dword [esi + 0x60]
call fcn.00500e00
mov ecx, dword [esi + 0x60]
mov ebx, eax
call fcn.00500e70
mov ecx, dword [esi + 0x60]
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.00500e90
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 0
fild qword [esp + 0xe0]
sub esp, 8
lea ecx, [ebx + ebx]
mov dword [esp + 0x3c], eax
fstp qword [esp]
push edi
push ecx
mov ecx, 0x55b398
call fcn.0048ee10
lea ecx, [esp + 0x74]
call fcn.00496cd0
push 0xff
lea ecx, [esp + 0x78]
call fcn.004968f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x78]
call fcn.004963e0
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [esp + 0x4c], esp
push 0
push ecx
push eax
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c6ec3
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x4c], esp
mov dword [esp + 0xa8], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c6e53
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0x19
call fcn.0048bd10
sub esp, 0x10
lea eax, [esp + 0xa8]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
mov byte [esp + 0x8b8], 0x1a
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
je 0x4c6f35
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
jmp 0x4c6331
xor edi, edi
cmp edi, 5
jge 0x4c7a95
lea ecx, [esp + 0x74]
call fcn.00496cd0
push 0xfe
lea ecx, [esp + 0x78]
call fcn.004968f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x78]
call fcn.004963e0
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [esp + 0x4c], esp
push 0
push ecx
push eax
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c7043
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x4c], esp
mov dword [esp + 0xa8], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c6fd3
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0x1b
call fcn.0048bd10
sub esp, 0x10
lea eax, [esp + 0xa8]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
mov byte [esp + 0x8b8], 0x1c
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
jne 0x4c6d0a
inc edi
jmp 0x4c6f37
mov ecx, dword [esi + 0x60]
call fcn.00500e00
mov ecx, dword [esi + 0x60]
mov edi, eax
call fcn.00500e70
mov ecx, dword [esi + 0x60]
mov ebx, eax
call fcn.00500e90
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
fild qword [esp + 0xac]
sub esp, 8
lea ecx, [edi + edi*4]
mov dword [esp + 0x3c], eax
fstp qword [esp]
push ebx
push ecx
mov ecx, 0x55b398
call fcn.0048ee10
lea ecx, [esp + 0x74]
call fcn.00496cd0
push 0xff
lea ecx, [esp + 0x78]
call fcn.004968f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x78]
call fcn.004963e0
lea ecx, [esp + 0x40]
call fcn.00497af0
sub esp, 0x24
lea ecx, [esp + 0x98]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push ecx
push eax
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c71a6
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c7139
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0x1d
call fcn.0048bd10
sub esp, 0x10
lea eax, [esp + 0xa8]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x8b8], 0x1e
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x88]
push 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.004968b0
mov esi, eax
push ecx
mov byte [esp + 0x884], 0x1f
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.0048a5f0
lea ecx, [esp + 0xa4]
call fcn.0048a8d0
mov dx, word [esi + 4]
lea ecx, [esp + 0x88]
mov word [esp + 0xa4], dx
mov byte [esp + 0x880], 0x18
call fcn.0048a720
push ecx
lea eax, [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x30]
call fcn.0048a8d0
lea ecx, [esp + 0x64]
call fcn.00496cd0
push 0xff
lea ecx, [esp + 0x68]
call fcn.004968f0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0048a5f0
lea ecx, [esp + 0x68]
call fcn.004963e0
sub esp, 0x24
lea ecx, [esp + 0x88]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push ecx
push eax
mov ecx, 0x55b398
call fcn.00493e70
lea ecx, [esp + 0x64]
call fcn.004976a0
call fcn.004a1910
test al, al
jne 0x4c730d
mov dl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], esp
mov dword [esp + 0x4c], esi
mov byte [esi], dl
call fcn.00495de0
test eax, eax
jge 0x4c72a0
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x74]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x8a8], 0x20
call fcn.0048bd10
sub esp, 0x10
lea eax, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x8b8], 0x21
call fcn.00493160
mov ecx, dword [0x55eb74]
mov byte [esp + 0x8b4], 0x18
call fcn.004bd2d0
lea ecx, [esp + 0x40]
call fcn.00497ad0
test ax, ax
je 0x4c7b53
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
jmp 0x4c6331
mov eax, dword [esp + 0x9c]
cmp eax, 4
jge 0x4c7ddc
mov ecx, dword [esi + 8]
inc eax
mov dword [esp + 0x9c], eax
call fcn.00501a50
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
xor ebx, ebx
jmp 0x4c61b6
mov eax, dword [esp + 0x9c]
cmp eax, 0x7d0
jge 0x4c7ddc
inc eax
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x9c], eax
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x3c]
xor ebx, ebx
jmp 0x4c61b6
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c7f40
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c7435
jmp 0x4c7f3c
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c74e1
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c7461
mov esi, dword [esp + 0x1c]
jmp 0x4c74e1
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c5918
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c7490
jmp 0x4c7f3c
mov ecx, dword [ebp + 8]
call fcn.004d0210
test eax, eax
jne 0x4c7545
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c74df
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c74ca
mov esi, dword [esp + 0x1c]
jmp 0x4c74e1
xor ebx, ebx
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
xor eax, eax
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4c7551
call fcn.00497af0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c755d
mov word [eax], 0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c5918
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c7577
jmp 0x4c7f3c
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x4c7606
mov ecx, edi
call fcn.00497af0
mov cl, byte [esp + 0x40]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x38], esi
mov byte [esi], cl
lea ecx, [esp + 0x64]
call fcn.00495de0
test eax, eax
jge 0x4c75bb
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x8a4], 0x12
push ecx
lea ecx, [esi + 0x10]
call fcn.0048bd10
mov ecx, edi
mov byte [esp + 0x8a4], 0x11
call fcn.004976a0
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c7653
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c763f
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jmp 0x4c7f55
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x479]
mov byte [esp + 0x478], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x34], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x28], edx
cmp eax, 0xffffffff
je 0x4c79bb
lea ecx, [esp + 0x478]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x5c]
push edx
push eax
call fcn.004b9050
push 0
lea ecx, [esp + 0x44]
call fcn.00497a10
mov edi, eax
mov ecx, dword [edi + 4]
mov al, byte [edi]
test ecx, ecx
mov byte [esp + 0xe0], al
jne 0x4c76ee
xor eax, eax
jmp 0x4c76f6
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
test eax, eax
jge 0x4c76fc
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.00514b36
mov ebx, dword [edi + 8]
mov edi, dword [edi + 4]
add esp, 4
mov esi, eax
cmp edi, ebx
mov dword [esp + 0xe4], eax
mov dword [esp + 0x3c], esi
je 0x4c773b
push edi
push esi
call fcn.004061a0
add edi, 4
add esp, 8
add esi, 4
cmp edi, ebx
jne 0x4c7723
mov dword [esp + 0x3c], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dl, byte [esp + 0x13]
xor eax, eax
mov byte [esp + 0xac], dl
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
push eax
push eax
push eax
mov byte [esp + 0x88c], 0x15
call fcn.00415780
mov ebx, dword [esp + 0xc0]
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov esi, edi
je 0x4c779d
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, ebx
jne 0x4c778d
mov ebx, dword [esp + 0xe4]
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0xb4], edi
je 0x4c784b
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x84], esi
jbe 0x4c7825
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x478]
sub eax, ecx
mov dword [esp + 0x14], eax
mov ecx, ebx
lea edi, [esp + esi + 0x478]
call fcn.0048ab50
movsx edx, ax
mov eax, dword [esp + 0x14]
add eax, edi
cmp eax, edx
ja 0x4c7811
mov ecx, dword [esp + 0x28]
add ecx, esi
push ecx
mov ecx, ebx
call fcn.0048a9e0
cmp al, byte [edi]
jne 0x4c7825
mov dword [esp + 0x84], 1
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jb 0x4c77d9
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4c783c
mov edx, dword [esp + 0xb4]
push ebx
push 1
push edx
lea ecx, [esp + 0xb8]
call fcn.00405d10
mov eax, dword [esp + 0x3c]
add ebx, 4
cmp ebx, eax
jne 0x4c77b7
mov edi, dword [ebp + 0x20]
xor ebx, ebx
cmp edi, ebx
je 0x4c7883
mov ecx, edi
call fcn.00497af0
mov esi, dword [esp + 0xb0]
cmp esi, ebx
je 0x4c788a
mov eax, dword [esp + 0xb4]
sub eax, esi
sar eax, 2
je 0x4c788a
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call fcn.00497860
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
mov byte [esp + 0x880], 0x14
cmp esi, edi
je 0x4c78b3
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c789d
mov esi, dword [esp + 0xb0]
push esi
call fcn.00514120
mov edi, dword [esp + 0x40]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0xe8]
add esp, 4
cmp ebx, edi
mov byte [esp + 0x880], 0x11
mov esi, ebx
je 0x4c78fa
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c78ea
push ebx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x880], 2
mov edi, eax
je 0x4c7952
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c793e
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
xor eax, eax
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
mov eax, 5
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c7d75
push 0
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c79f8
jmp 0x4c7d71
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x880], 2
mov edi, eax
je 0x4c7d75
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7a82
jmp 0x4c7d71
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0
fild qword [esp + 0xac]
sub esp, 8
mov ecx, 0x55b398
fstp qword [esp]
push eax
push ebx
call fcn.0048ee10
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov byte [esp + 0x880], 2
mov edi, ecx
mov esi, eax
je 0x4c7b4d
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7b3b
mov eax, dword [esp + 0x1c]
push eax
jmp 0x4c7d76
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], ecx
sub esp, 8
fild qword [esp + 0xb4]
mov ecx, 0x55b398
fstp qword [esp]
push ebx
push edi
call fcn.0048ee10
lea ecx, [esp + 0xa0]
mov byte [esp + 0x880], 0x17
call fcn.0048a720
lea ecx, [esp + 0x74]
mov byte [esp + 0x880], 0x16
call fcn.004961b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 0x11
call fcn.0048a720
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov byte [esp + 0x880], 2
mov edi, ecx
mov esi, eax
je 0x4c7b4d
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7bf9
mov eax, dword [esp + 0x1c]
push eax
jmp 0x4c7d76
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
cmp dword [esi + 0x2020], 0xffffffff
je 0x4c7c9b
mov eax, dword [esi + 0x2018]
xor ebx, ebx
cmp eax, ebx
jne 0x4c7c9d
push ebx
push 1
sub esp, 0x10
mov ecx, 0x55eb50
mov edx, esp
mov dword [esp + 0x2c], esp
push 1
push edx
call fcn.004b2c30
mov ecx, dword [esi + 0x2020]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push ecx
push eax
mov ecx, 0x55eb50
mov byte [esp + 0x8b0], 0x29
call fcn.004b2c30
mov ecx, 0x55b3d0
mov byte [esp + 0x8a8], 3
call fcn.004995c0
jmp 0x4c7c9d
xor ebx, ebx
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c7cc3
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7cb1
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
or eax, 0xffffffff
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x880], 2
mov edi, eax
je 0x4c7d75
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7d63
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
xor eax, eax
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
or eax, 0xffffffff
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x40]
call fcn.00497af0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x40]
push edx
call fcn.00497860
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x880], 0x10
call fcn.00503830
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 3
call fcn.0048a720
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c7eeb
mov ecx, dword [ebp + 8]
call fcn.004d0710
test eax, eax
je 0x4c7eeb
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c7e5a
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7e48
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
xor eax, eax
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
xor eax, eax
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x880], 2
je 0x4c5918
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.004061f0
add esi, 4
cmp esi, edi
jne 0x4c7eda
jmp 0x4c7f3c
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
je 0x4c7f1e
mov eax, dword [esp + 0x20]
sub eax, esi
sar eax, 2
je 0x4c7f1e
mov edi, dword [ebp + 0x20]
cmp edi, ebx
je 0x4c7f1e
mov ecx, edi
call fcn.00497af0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00497860
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov byte [esp + 0x880], 2
cmp esi, edi
je 0x4c7f40
mov ecx, esi
call fcn.0048a720
add esi, 4
cmp esi, edi
jne 0x4c7f2e
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x880], 1
call fcn.0048a720
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 0
call fcn.004975f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x880], 0xffffffff
call fcn.004961b0
mov ecx, dword [esp + 0x878]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20