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

Disassembly:
push 0xffffffffffffffff
push 0x4f1815
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.00411e90
mov edi, 0x520168
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.00412290
test al, al
je 0x492e43
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x520168
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.00412270
push 0
lea ecx, [esp + 0x70]
call fcn.004cabb0
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.00411e90
mov edi, 0x520168
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.00412290
test al, al
je 0x492ecb
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520168
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.00412270
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004be970
xor esi, esi
lea ebp, [ebx + 0x78]
push esi
mov ecx, ebp
mov byte [esp + 0x288], 2
xor edi, edi
call fcn.004bec90
movzx ax, al
push eax
mov ecx, ebp
call fcn.004bec90
xor ecx, ecx
mov cl, byte [ebx + 0x44]
sub ecx, esi
je 0x493df2
dec ecx
je 0x4936ff
dec ecx
jne 0x493f74
test al, al
jne 0x492fc0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512a6c
call fcn.004bea10
lea ecx, [esp + 0xd4]
push ecx
call fcn.004d0560
add esp, 8
mov edx, dword [0x4f73d0]
lea ecx, [ebx + 0x68]
push edx
push esi
push eax
mov byte [esp + 0x290], 0x14
call fcn.00411c90
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x492fa6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x492f9d
cmp al, 0xff
je 0x492f9d
dec al
mov byte [ecx], al
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
jmp 0x49336b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
jmp 0x49336b
cmp al, 1
jne 0x49304e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512a64
call fcn.004bea10
lea eax, [esp + 0x74]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x15
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0x74]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x49303d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493034
cmp al, 0xff
je 0x493034
dec al
mov byte [ecx], al
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x49336b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x49336b
cmp al, 2
jne 0x4930f4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512a5c
call fcn.004bea10
lea edx, [esp + 0xb4]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x16
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x4930da
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4930d1
cmp al, 0xff
je 0x4930d1
dec al
mov byte [ecx], al
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
jmp 0x49336b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
jmp 0x49336b
cmp al, 3
jne 0x49319a
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512a54
call fcn.004bea10
lea edx, [esp + 0x94]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x17
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0x94]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493180
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493177
cmp al, 0xff
je 0x493177
dec al
mov byte [ecx], al
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
jmp 0x49336b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
jmp 0x49336b
push ecx
cmp al, 0xff
mov ecx, esp
jne 0x493240
mov dword [esp + 0x20], esp
push 6
push 0x512a4c
call fcn.004bea10
lea edx, [esp + 0xa4]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0x18
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493226
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49321d
cmp al, 0xff
je 0x49321d
dec al
mov byte [ecx], al
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
jmp 0x49336b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
jmp 0x49336b
mov dword [esp + 0x20], esp
push 6
push 0x512a44
call fcn.004bea10
lea edx, [esp + 0x84]
push edx
call fcn.004d0560
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 + 0x68]
mov dword [esp + 0x14], eax
jae 0x493286
mov eax, edx
mov dword [esp + 0x14], eax
cmp ebp, edi
jne 0x4932a1
push edx
push eax
mov ecx, ebp
call fcn.00412150
push esi
push esi
mov ecx, ebp
call fcn.00412150
jmp 0x493326
cmp eax, esi
jbe 0x4932e9
cmp eax, ecx
jne 0x4932e9
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x4932b5
mov ecx, 0x4f7480
cmp byte [ecx - 1], 0xfe
jae 0x4932e9
push 1
mov ecx, ebp
call fcn.00411e90
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4932d0
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 0x493326
push 1
push eax
mov ecx, ebp
call fcn.00412290
test al, al
je 0x493326
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x4f7480
je 0x493305
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.00412270
xor esi, esi
mov eax, dword [esp + 0x84]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493356
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49334d
cmp al, 0xff
je 0x49334d
dec al
mov byte [ecx], al
jmp 0x493356
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
push 6
push 0x512a6c
lea ecx, [esp + 0x5c]
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 1
mov byte [ebx + 0x47], 2
mov byte [ebx + 0x48], 3
mov byte [ebx + 0x49], 0xff
call fcn.004bea10
mov ecx, dword [ebx + 0x88]
lea esi, [ebx + 0x80]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1a
call fcn.004126e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x284], 2
call fcn.004beab0
push 6
push 0x512a64
lea ecx, [esp + 0x58]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1b
call fcn.004126e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x284], 2
call fcn.004beab0
push 6
push 0x512a5c
lea ecx, [esp + 0x50]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 0x1c
call fcn.004126e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x284], 2
call fcn.004beab0
push 6
push 0x512a54
lea ecx, [esp + 0x54]
call fcn.004bea10
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 0x49350d
mov ecx, esi
call fcn.00476d10
cmp eax, 1
jbe 0x493478
mov ecx, esi
call fcn.00476d10
mov ebp, eax
jmp 0x49347d
mov ebp, 1
mov ecx, esi
call fcn.00476d10
add eax, ebp
mov dword [esp + 0x18], eax
jns 0x49348e
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004df7b5
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.00476d80
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.00476e30
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push edi
call fcn.00476d80
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00476d50
mov eax, dword [esi + 4]
push eax
call fcn.004deb10
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.00476d10
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
jmp 0x49357e
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x493551
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.00476d80
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.00476e30
mov eax, dword [esi + 8]
push ebp
push eax
push edi
call fcn.00413120
add esp, 0xc
jmp 0x49357a
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00476d80
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00413160
lea ecx, [edi + 4]
push ebp
push ecx
push edi
call fcn.00413120
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x284], 2
call fcn.004beab0
push 6
push 0x512a4c
lea ecx, [esp + 0x4c]
call fcn.004bea10
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 0x493678
mov ecx, esi
call fcn.00476d10
cmp eax, 1
jbe 0x4935d8
mov ecx, esi
call fcn.00476d10
mov ebp, eax
jmp 0x4935dd
mov ebp, 1
mov ecx, esi
call fcn.00476d10
add eax, ebp
mov dword [esp + 0x14], eax
jns 0x4935ee
xor eax, eax
shl eax, 2
push eax
call fcn.004df7b5
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push edi
push ecx
mov ecx, esi
call fcn.00476d80
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x40], eax
call fcn.00476e30
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push edi
mov ecx, esi
call fcn.00476d80
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.00476d50
mov eax, dword [esi + 4]
push eax
call fcn.004deb10
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.00476d10
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 0x493f64
mov ecx, edi
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x4936bc
lea edx, [edi + 4]
mov ecx, esi
push edx
push edi
push edi
call fcn.00476d80
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.00476e30
mov eax, dword [esi + 8]
push ebp
push eax
push edi
call fcn.00413120
add esp, 0xc
jmp 0x4936e5
push edi
lea ecx, [edi - 4]
push edi
push ecx
mov ecx, esi
call fcn.00476d80
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00413160
lea edx, [edi + 4]
push ebp
push edx
push edi
call fcn.00413120
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 0x493f64
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x512a3c
call fcn.004bea10
lea eax, [esp + 0x130]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 8
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00411c90
push 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x288], 2
call fcn.00411e90
push esi
mov ecx, ebp
xor ebx, ebx
call fcn.004bec90
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x493824
lea edx, [ebx + 4]
mov ecx, ebp
push edx
call fcn.004bec90
and eax, 0xff
push eax
lea eax, [esp + 0x110]
push str._02X
push eax
call fcn.004df246
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 0x4937ba
call fcn.004deb1b
cmp edi, esi
jbe 0x49380b
mov edx, dword [esp + 0x2c]
push esi
lea ecx, [esp + 0x28]
lea eax, [edi + edx]
push eax
mov dword [esp + 0x20], eax
call fcn.00412290
test al, al
je 0x49380b
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.00412270
xor esi, esi
push esi
mov ecx, ebp
inc ebx
call fcn.004bec90
and eax, 0xff
sub eax, 3
cmp ebx, eax
jl 0x49376c
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 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x2b0], 9
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0x2ac], 2
call fcn.004cb6b0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x512a34
call fcn.004bea10
lea eax, [esp + 0x170]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0xa
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00411c90
push 1
lea ecx, [esp + 0x170]
mov byte [esp + 0x288], 2
call fcn.00411e90
push esi
mov ecx, ebp
call fcn.004bec90
and eax, 0xff
lea edx, [esp + 0x10c]
sub eax, 3
push eax
push 0x50f938
push edx
call fcn.004df246
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 0x493916
call fcn.004deb1b
cmp ebx, esi
jbe 0x49395e
mov ecx, dword [esp + 0x2c]
push esi
lea ebp, [ebx + ecx]
lea ecx, [esp + 0x28]
push ebp
call fcn.00412290
test al, al
je 0x49395e
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.00412270
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x512a2c
call fcn.004bea10
lea eax, [esp + 0xc4]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 0xb
push ecx
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00411f10
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x4939cb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4939c2
cmp al, 0xff
je 0x4939c2
dec al
mov byte [ecx], al
jmp 0x4939cb
push ecx
call fcn.004deb10
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 0x5100e0
push edx
call fcn.004df246
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.00411e90
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.00412290
test al, al
je 0x493a57
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 0x50f8ec
mov byte [esp + 0x2ac], 0xc
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x6f]
mov ecx, esp
mov dword [esp + 0x138], esp
push edx
push 0x5119ec
mov byte [esp + 0x2bc], 0xd
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x7e]
mov ecx, esp
mov dword [esp + 0x130], esp
push eax
push 0x520168
mov byte [esp + 0x2cc], 0xe
call fcn.00411a00
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 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x2e8], 0x10
call fcn.004118e0
lea eax, [esp + 0x154]
mov ecx, 0x520200
push eax
mov byte [esp + 0x2e8], 2
call fcn.004cb970
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.00411c90
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x284], 2
cmp eax, esi
je 0x493b7a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493b71
cmp al, 0xff
je 0x493b71
dec al
mov byte [ecx], al
jmp 0x493b7a
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
call fcn.004c4fe0
cmp ax, 2
je 0x493d24
lea ecx, [esp + 0x5c]
call fcn.004c4fe0
cmp ax, 1
jne 0x4939e2
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x5c]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x493bd2
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 0x493c20
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493c17
cmp al, 0xff
je 0x493c17
dec al
mov byte [ecx], al
jmp 0x493c20
push ecx
call fcn.004deb10
add esp, 4
mov ebx, dword [esp + 0x34]
push ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
lea esi, [ebx + 0x78]
mov dword [esp + 0xf0], ebp
mov ecx, esi
call fcn.004bec90
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 0x493caa
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x294], 0x12
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x510864
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x294], 2
call fcn.004cb760
jmp 0x4939e0
push ecx
lea ecx, [esp + 0x180]
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
push eax
mov ecx, ebx
call fcn.004915d0
lea ecx, [esp + 0x3c]
call fcn.004beca0
lea ecx, [esp + 0x38]
call fcn.004bee30
test ax, ax
jne 0x493d9a
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x294], 0x13
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x510864
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x294], 2
call fcn.004cb760
jmp 0x4939e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004beab0
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x493d59
mov al, byte [ecx - 1]
test al, al
je 0x493d4f
cmp al, 0xff
je 0x493d4f
dec al
mov byte [ecx - 1], al
jmp 0x493d59
dec ecx
push ecx
call fcn.004deb10
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 0x493d91
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493d88
cmp al, 0xff
je 0x493d88
dec al
mov byte [ecx], al
mov ax, 1
jmp 0x493fdd
push ecx
call fcn.004deb10
add esp, 4
mov ax, 1
jmp 0x493fdd
push ebp
mov ecx, esi
xor edi, edi
call fcn.004bec90
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x493ddb
push edi
lea ecx, [esp + 0x3c]
call fcn.004bec90
lea edx, [edi + 4]
push eax
push edx
mov ecx, esi
call fcn.004bedb0
push ebp
mov ecx, esi
inc edi
call fcn.004bec90
and eax, 0xff
sub eax, 3
cmp edi, eax
jl 0x493db0
push ebp
push ebp
mov ecx, esi
call fcn.004bec90
push eax
push ebp
mov ecx, ebx
call fcn.004a32a0
jmp 0x493f70
test al, al
jne 0x493e48
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x512a10
call fcn.004bea10
lea eax, [esp + 0x140]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 3
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x140]
jmp 0x493ee5
push ecx
cmp al, 1
mov ecx, esp
jne 0x493e9b
mov dword [esp + 0x24], esp
push 6
push 0x512a08
call fcn.004bea10
lea edx, [esp + 0x160]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 4
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x160]
jmp 0x493ee5
mov dword [esp + 0x24], esp
push 6
push 0x512a44
call fcn.004bea10
lea edx, [esp + 0x150]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x284], 5
push ecx
push esi
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov byte [esp + 0x284], 2
push 1
lea ecx, [esp + 0x150]
call fcn.00411e90
push 6
push 0x512a08
lea ecx, [esp + 0x60]
mov byte [ebx + 0x45], 1
mov byte [ebx + 0x46], 0
call fcn.004bea10
mov ecx, dword [ebx + 0x88]
lea esi, [ebx + 0x80]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 6
call fcn.004126e0
lea ecx, [esp + 0x58]
mov byte [esp + 0x284], 2
call fcn.004beab0
push 6
push 0x512a10
lea ecx, [esp + 0x24]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x290], 7
call fcn.004126e0
mov byte [esp + 0x284], 2
lea ecx, [esp + 0x1c]
call fcn.004beab0
mov ecx, ebx
call fcn.004a2cc0
mov edi, eax
xor esi, esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x284], 1
call fcn.004beab0
mov ecx, dword [esp + 0x28]
cmp ecx, esi
je 0x493fa9
mov al, byte [ecx - 1]
test al, al
je 0x493f9f
cmp al, 0xff
je 0x493f9f
dec al
mov byte [ecx - 1], al
jmp 0x493fa9
dec ecx
push ecx
call fcn.004deb10
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 0x493fda
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x493fd1
cmp al, 0xff
je 0x493fd1
dec al
mov byte [ecx], al
jmp 0x493fda
push ecx
call fcn.004deb10
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