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

Disassembly:
push 0xffffffffffffffff
push 0x4f17e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x44], ebx
mov ebp, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00414090
mov edi, 0x520010
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x492ee3
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x520010
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00414480
push 0
lea ecx, [esp + 0x70]
call fcn.004ca360
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x288], 0
mov byte [esp + 0x28], al
call fcn.00414090
mov edi, 0x520010
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.004144a0
test al, al
je 0x492f6b
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00414480
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004be1a0
xor esi, esi
lea ebp, [ebx + 0x74]
push esi
mov ecx, ebp
mov byte [esp + 0x288], 2
xor edi, edi
call fcn.004be4c0
movzx ax, al
push eax
mov ecx, ebp
call fcn.004be4c0
xor ecx, ecx
mov cl, byte [ebx + 0x40]
sub ecx, esi
je 0x493e8f
dec ecx
je 0x49379c
dec ecx
jne 0x49400e
test al, al
jne 0x493060
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512918
call fcn.004be240
lea ecx, [esp + 0xd4]
push ecx
call fcn.004cfca0
add esp, 8
mov edx, dword [0x4f73d0]
lea ecx, [ebx + 0x64]
push edx
push esi
push eax
mov byte [esp + 0x290], 0x14
call fcn.00413e90
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493046
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49303d
cmp al, 0xff
je 0x49303d
dec al
mov byte [ecx], al
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
jmp 0x49340b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
jmp 0x49340b
cmp al, 1
jne 0x4930ee
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512910
call fcn.004be240
lea eax, [esp + 0x74]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x15
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x74]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x4930dd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4930d4
cmp al, 0xff
je 0x4930d4
dec al
mov byte [ecx], al
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x49340b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x49340b
cmp al, 2
jne 0x493194
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512908
call fcn.004be240
lea edx, [esp + 0xb4]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x16
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x49317a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493171
cmp al, 0xff
je 0x493171
dec al
mov byte [ecx], al
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
jmp 0x49340b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
jmp 0x49340b
cmp al, 3
jne 0x49323a
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512900
call fcn.004be240
lea edx, [esp + 0x94]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x17
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0x94]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493220
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493217
cmp al, 0xff
je 0x493217
dec al
mov byte [ecx], al
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
jmp 0x49340b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
jmp 0x49340b
push ecx
cmp al, 0xff
mov ecx, esp
jne 0x4932e0
mov dword [esp + 0x20], esp
push 6
push 0x5128f8
call fcn.004be240
lea edx, [esp + 0xa4]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x18
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x4932c6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4932bd
cmp al, 0xff
je 0x4932bd
dec al
mov byte [ecx], al
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
jmp 0x49340b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
jmp 0x49340b
mov dword [esp + 0x20], esp
push 6
push 0x5128f0
call fcn.004be240
lea edx, [esp + 0x84]
push edx
call fcn.004cfca0
add esp, 8
mov edi, eax
mov ecx, dword [edi + 8]
mov edx, dword [0x4f73d0]
mov eax, ecx
mov byte [esp + 0x284], 0x19
cmp edx, eax
lea ebp, [ebx + 0x64]
mov dword [esp + 0x14], eax
jae 0x493326
mov eax, edx
mov dword [esp + 0x14], eax
cmp ebp, edi
jne 0x493341
push edx
push eax
mov ecx, ebp
call fcn.00414360
push esi
push esi
mov ecx, ebp
call fcn.00414360
jmp 0x4933c6
cmp eax, esi
jbe 0x493389
cmp eax, ecx
jne 0x493389
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x493355
mov ecx, 0x4f7480
cmp byte [ecx - 1], 0xfe
jae 0x493389
push 1
mov ecx, ebp
call fcn.00414090
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x493370
mov eax, 0x4f7480
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov edi, dword [edi + 0xc]
mov dword [ebp + 0xc], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4933c6
push 1
push eax
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x4933c6
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x4f7480
je 0x4933a5
mov esi, edi
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 4]
mov ecx, eax
push eax
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]
mov ecx, ebp
call fcn.00414480
xor esi, esi
mov eax, dword [esp + 0x84]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x4933f6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4933ed
cmp al, 0xff
je 0x4933ed
dec al
mov byte [ecx], al
jmp 0x4933f6
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
push 6
push 0x512918
lea ecx, [esp + 0x5c]
mov byte [ebx + 0x41], 0
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 2
mov byte [ebx + 0x44], 3
mov byte [ebx + 0x45], 0xff
call fcn.004be240
mov ecx, dword [ebx + 0x84]
lea esi, [ebx + 0x7c]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1a
call fcn.004148e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x284], 2
call fcn.004be2e0
push 6
push 0x512910
lea ecx, [esp + 0x58]
call fcn.004be240
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1b
call fcn.004148e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x284], 2
call fcn.004be2e0
push 6
push 0x512908
lea ecx, [esp + 0x50]
call fcn.004be240
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1c
call fcn.004148e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x284], 2
call fcn.004be2e0
push 6
push 0x512900
lea ecx, [esp + 0x54]
call fcn.004be240
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov byte [esp + 0x284], 0x1d
sar ecx, 2
cmp ecx, 1
mov edi, eax
jae 0x4935aa
mov ecx, esi
call fcn.004776a0
cmp eax, 1
jbe 0x493515
mov ecx, esi
call fcn.004776a0
mov ebp, eax
jmp 0x49351a
mov ebp, 1
mov ecx, esi
call fcn.004776a0
add eax, ebp
mov dword [esp + 0x18], eax
jns 0x49352b
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004dee45
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.00477710
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.004777c0
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push edi
call fcn.00477710
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004776e0
mov eax, dword [esi + 4]
push eax
call fcn.004de1a0
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.004776a0
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
jmp 0x49361b
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x4935ee
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.00477710
mov eax, dword [esi + 8]
mov edx, 1
mov ecx, eax
push ebp
sub ecx, edi
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004777c0
mov eax, dword [esi + 8]
push ebp
push eax
push edi
call fcn.004152e0
add esp, 0xc
jmp 0x493617
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00477710
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00415320
lea ecx, [edi + 4]
push ebp
push ecx
push edi
call fcn.004152e0
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x284], 2
call fcn.004be2e0
push 6
push 0x5128f8
lea ecx, [esp + 0x4c]
call fcn.004be240
mov ebp, eax
mov dword [esp + 0x18], ebp
mov edi, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, edi
mov byte [esp + 0x284], 0x1e
sar edx, 2
cmp edx, 1
jae 0x493715
mov ecx, esi
call fcn.004776a0
cmp eax, 1
jbe 0x493675
mov ecx, esi
call fcn.004776a0
mov ebp, eax
jmp 0x49367a
mov ebp, 1
mov ecx, esi
call fcn.004776a0
add eax, ebp
mov dword [esp + 0x14], eax
jns 0x49368b
xor eax, eax
shl eax, 2
push eax
call fcn.004dee45
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push edi
push ecx
mov ecx, esi
call fcn.00477710
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x40], eax
call fcn.004777c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push edi
mov ecx, esi
call fcn.00477710
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.004776e0
mov eax, dword [esi + 4]
push eax
call fcn.004de1a0
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.004776a0
lea eax, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
mov byte [esp + 0x284], 2
lea ecx, [esp + 0x44]
jmp 0x493ffe
mov ecx, edi
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x493759
lea edx, [edi + 4]
mov ecx, esi
push edx
push edi
push edi
call fcn.00477710
mov eax, dword [esi + 8]
mov edx, 1
mov ecx, eax
push ebp
sub ecx, edi
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004777c0
mov eax, dword [esi + 8]
push ebp
push eax
push edi
call fcn.004152e0
add esp, 0xc
jmp 0x493782
push edi
lea ecx, [edi - 4]
push edi
push ecx
mov ecx, esi
call fcn.00477710
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00415320
lea edx, [edi + 4]
push ebp
push edx
push edi
call fcn.004152e0
add esp, 0x18
mov eax, dword [esi + 8]
mov byte [esp + 0x284], 2
add eax, 4
lea ecx, [esp + 0x44]
mov dword [esi + 8], eax
jmp 0x493ffe
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x5128e8
call fcn.004be240
lea eax, [esp + 0x130]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 8
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00413e90
push 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x288], 2
call fcn.00414090
push esi
mov ecx, ebp
xor ebx, ebx
call fcn.004be4c0
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x4938c1
lea edx, [ebx + 4]
mov ecx, ebp
push edx
call fcn.004be4c0
and eax, 0xff
push eax
lea eax, [esp + 0x110]
push str._02X
push eax
call fcn.004de8d6
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x2c]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [0x4f73d0]
sub ecx, edx
cmp ecx, edi
ja 0x493857
call fcn.004de1ab
cmp edi, esi
jbe 0x4938a8
mov edx, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x28]
lea eax, [edi + edx]
push eax
mov dword [esp + 0x20], eax
call fcn.004144a0
test al, al
je 0x4938a8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, edi
mov edx, ecx
lea esi, [esp + 0x10c]
mov edi, eax
mov eax, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00414480
xor esi, esi
push esi
mov ecx, ebp
inc ebx
call fcn.004be4c0
and eax, 0xff
sub eax, 3
cmp ebx, eax
jl 0x493809
push esi
push 1
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x510e30
call fcn.004be240
push edi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2b0], 9
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x2ac], 2
call fcn.004cae60
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x5128e0
call fcn.004be240
lea eax, [esp + 0x170]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0xa
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00413e90
push 1
lea ecx, [esp + 0x170]
mov byte [esp + 0x288], 2
call fcn.00414090
push esi
mov ecx, ebp
call fcn.004be4c0
and eax, 0xff
lea edx, [esp + 0x10c]
sub eax, 3
push eax
push 0x50f930
push edx
call fcn.004de8d6
lea edi, [esp + 0x118]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
mov ebx, ecx
cmp eax, ebx
ja 0x4939b3
call fcn.004de1ab
cmp ebx, esi
jbe 0x4939fb
mov ecx, dword [esp + 0x2c]
push esi
lea ebp, [ebx + ecx]
lea ecx, [esp + 0x28]
push ebp
call fcn.004144a0
test al, al
je 0x4939fb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, ebx
lea esi, [esp + 0x10c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00414480
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x5128d8
call fcn.004be240
lea eax, [esp + 0xc4]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0xb
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00414120
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493a68
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493a5f
cmp al, 0xff
je 0x493a5f
dec al
mov byte [ecx], al
jmp 0x493a68
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
xor esi, esi
push str.9999999999999999
lea edx, [esp + 0x180]
push 0x510090
push edx
call fcn.004de8d6
mov al, byte [esp + 0x1f]
push ecx
mov ebp, esp
mov dword [esp + 0x28], esp
push esi
mov ecx, ebp
mov byte [ebp], al
call fcn.00414090
lea edi, [esp + 0x18c]
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.004144a0
test al, al
je 0x493af4
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x18c]
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
xor esi, esi
mov byte [ebx], 0
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
push 0x50f8e4
mov byte [esp + 0x2ac], 0xc
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x6f]
mov ecx, esp
mov dword [esp + 0x138], esp
push edx
push 0x512878
mov byte [esp + 0x2bc], 0xd
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x7e]
mov ecx, esp
mov dword [esp + 0x130], esp
push eax
push 0x520010
mov byte [esp + 0x2cc], 0xe
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x2d4], 0xf
mov edi, esp
mov dword [esp + 0x90], esp
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x510e30
call fcn.004be240
push edi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x2e8], 0x10
call fcn.00413ad0
lea eax, [esp + 0x154]
mov ecx, 0x5200a8
push eax
mov byte [esp + 0x2e8], 2
call fcn.004cb120
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x60], cx
push esi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x290], 0x11
call fcn.00413e90
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493c17
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493c0e
cmp al, 0xff
je 0x493c0e
dec al
mov byte [ecx], al
jmp 0x493c17
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
call fcn.004c48d0
cmp ax, 2
je 0x493dc1
lea ecx, [esp + 0x5c]
call fcn.004c48d0
cmp ax, 1
jne 0x493a7f
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x5c]
push eax
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x493c6f
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x17c]
mov eax, ecx
mov esi, edi
mov edi, edx
xor ebp, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xe4]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
je 0x493cbd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493cb4
cmp al, 0xff
je 0x493cb4
dec al
mov byte [ecx], al
jmp 0x493cbd
push ecx
call fcn.004de1a0
add esp, 4
mov ebx, dword [esp + 0x34]
push ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
lea esi, [ebx + 0x74]
mov dword [esp + 0xf0], ebp
mov ecx, esi
call fcn.004be4c0
and eax, 0xff
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
lea edx, [eax + eax - 6]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
je 0x493d47
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x294], 0x12
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x5128bc
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x294], 2
call fcn.004caf10
jmp 0x493a7d
push ecx
lea ecx, [esp + 0x180]
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
push eax
mov ecx, ebx
call fcn.00491690
lea ecx, [esp + 0x3c]
call fcn.004be4d0
lea ecx, [esp + 0x38]
call fcn.004be660
test ax, ax
jne 0x493e37
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x294], 0x13
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x5128bc
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x294], 2
call fcn.004caf10
jmp 0x493a7d
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004be2e0
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x493df6
mov al, byte [ecx - 1]
test al, al
je 0x493dec
cmp al, 0xff
je 0x493dec
dec al
mov byte [ecx - 1], al
jmp 0x493df6
dec ecx
push ecx
call fcn.004de1a0
add esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], esi
cmp eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
je 0x493e2e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493e25
cmp al, 0xff
je 0x493e25
dec al
mov byte [ecx], al
mov ax, 1
jmp 0x494077
push ecx
call fcn.004de1a0
add esp, 4
mov ax, 1
jmp 0x494077
push ebp
mov ecx, esi
xor edi, edi
call fcn.004be4c0
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x493e78
push edi
lea ecx, [esp + 0x3c]
call fcn.004be4c0
lea edx, [edi + 4]
push eax
push edx
mov ecx, esi
call fcn.004be5e0
push ebp
mov ecx, esi
inc edi
call fcn.004be4c0
and eax, 0xff
sub eax, 3
cmp edi, eax
jl 0x493e4d
push ebp
push ebp
mov ecx, esi
call fcn.004be4c0
push eax
push ebp
mov ecx, ebx
call fcn.004a3290
jmp 0x49400a
test al, al
jne 0x493ee5
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x5128b4
call fcn.004be240
lea eax, [esp + 0x140]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 3
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x140]
jmp 0x493f82
push ecx
cmp al, 1
mov ecx, esp
jne 0x493f38
mov dword [esp + 0x24], esp
push 6
push 0x5128ac
call fcn.004be240
lea edx, [esp + 0x160]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 4
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x160]
jmp 0x493f82
mov dword [esp + 0x24], esp
push 6
push 0x5128f0
call fcn.004be240
lea edx, [esp + 0x150]
push edx
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 5
push ecx
push esi
push eax
lea ecx, [ebx + 0x64]
call fcn.00413e90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x150]
call fcn.00414090
push 6
push 0x5128ac
lea ecx, [esp + 0x60]
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 0
call fcn.004be240
mov ecx, dword [ebx + 0x84]
lea esi, [ebx + 0x7c]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 6
call fcn.004148e0
lea ecx, [esp + 0x58]
mov byte [esp + 0x284], 2
call fcn.004be2e0
push 6
push 0x5128b4
lea ecx, [esp + 0x24]
call fcn.004be240
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 7
call fcn.004148e0
mov byte [esp + 0x284], 2
lea ecx, [esp + 0x1c]
call fcn.004be2e0
mov ecx, ebx
call fcn.004a2cb0
mov edi, eax
xor esi, esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004be2e0
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x494043
mov al, byte [ecx - 1]
test al, al
je 0x494039
cmp al, 0xff
je 0x494039
dec al
mov byte [ecx - 1], al
jmp 0x494043
dec ecx
push ecx
call fcn.004de1a0
add esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], esi
cmp eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
je 0x494074
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49406b
cmp al, 0xff
je 0x49406b
dec al
mov byte [ecx], al
jmp 0x494074
push ecx
call fcn.004de1a0
add esp, 4
mov ax, di
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x278
ret