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

Disassembly:
push 0xffffffffffffffff
push 0x4f2876
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
mov al, byte [esp + 6]
push ebp
push esi
push edi
mov ebx, ecx
sub esp, 0x10
mov dword [esp + 0x54], ebx
mov ebp, esp
mov dword [esp + 0x4c], 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 + 0x78], ecx
push ecx
mov ecx, ebp
call fcn.00412290
test al, al
je 0x49e723
mov eax, dword [esp + 0x74]
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 + 0x7c]
call fcn.004cabb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x27c], 0
call fcn.004be970
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x175]
mov byte [esp + 0x174], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 1
mov byte [esp + 0x30], 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 + 0x30]
push ebp
call fcn.00412290
test al, al
je 0x49e7bc
mov edi, dword [esp + 0x30]
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 + 0x30]
call fcn.00412270
mov al, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 2
mov byte [esp + 0x1c], 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 + 0x1c]
push ebp
call fcn.00412290
test al, al
je 0x49e81b
mov edi, dword [esp + 0x1c]
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 + 0x1c]
call fcn.00412270
lea esi, [ebx + 0x78]
push 0
mov ecx, esi
mov byte [esp + 0x280], 3
call fcn.004bec90
movzx ax, al
push eax
mov ecx, esi
call fcn.004bec90
push esi
mov ecx, ebx
mov byte [esp + 0x16], al
call fcn.004a26d0
fstp qword [esp + 0x4c]
xor eax, eax
mov al, byte [ebx + 0x44]
cmp eax, 4
ja case.default.0x49e859
jmp dword [eax*4 + 0x49f9d4]
mov al, byte [esp + 0x12]
test al, al
jne 0x49e8bb
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x512cc8
call fcn.004bea10
lea ecx, [esp + 0x124]
push ecx
call fcn.004d0560
add esp, 8
mov edx, dword [0x4f73d0]
lea ecx, [ebx + 0x68]
push edx
push 0
push eax
mov byte [esp + 0x288], 4
call fcn.00411c90
mov byte [esp + 0x27c], 3
push 1
lea ecx, [esp + 0x124]
jmp 0x49e95a
push ecx
cmp al, 1
mov ecx, esp
jne 0x49e90f
mov dword [esp + 0x40], esp
push 6
push 0x512cc0
call fcn.004bea10
lea eax, [esp + 0x154]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x27c], 5
push ecx
push 0
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov byte [esp + 0x27c], 3
push 1
lea ecx, [esp + 0x154]
jmp 0x49e95a
mov dword [esp + 0x40], esp
push 6
push 0x512a44
call fcn.004bea10
lea edx, [esp + 0x114]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x27c], 6
push ecx
push 0
push eax
lea ecx, [ebx + 0x68]
call fcn.00411c90
mov byte [esp + 0x27c], 3
push 1
lea ecx, [esp + 0x114]
call fcn.00411e90
push 6
push 0x512cc8
lea ecx, [esp + 0x6c]
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 1
call fcn.004bea10
mov ecx, dword [ebx + 0x88]
lea esi, [ebx + 0x80]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x288], 7
call fcn.004126e0
lea ecx, [esp + 0x64]
mov byte [esp + 0x27c], 3
call fcn.004beab0
push 6
push 0x512cc0
lea ecx, [esp + 0x88]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x288], 8
call fcn.004126e0
lea ecx, [esp + 0x80]
mov byte [esp + 0x27c], 3
call fcn.004beab0
mov ecx, ebx
call fcn.004a2cc0
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x280], 2
call fcn.00411e90
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 1
call fcn.00411e90
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0
call fcn.004beab0
push 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x280], 0xffffffff
call fcn.00411e90
jmp 0x49f9b8
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x512a3c
call fcn.004bea10
lea edx, [esp + 0x144]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x27c], 9
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00411c90
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x280], 3
call fcn.00411e90
xor ebx, ebx
mov ecx, esi
push ebx
call fcn.004bec90
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x49eb08
lea edx, [ebx + 4]
mov ecx, esi
push edx
call fcn.004bec90
and eax, 0xff
push eax
lea eax, [esp + 0xe4]
push str._02X
push eax
call fcn.004df246
lea edi, [esp + 0xec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00411ff0
push 0
mov ecx, esi
inc ebx
call fcn.004bec90
and eax, 0xff
sub eax, 3
cmp ebx, eax
jl 0x49eaa9
push 0
push 1
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x60], esp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x2a8], 0xa
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0x2a4], 3
call fcn.004cb6b0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x512a34
call fcn.004bea10
lea eax, [esp + 0x104]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x27c], 0xb
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00411c90
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x280], 3
call fcn.00411e90
push 0
mov ecx, esi
call fcn.004bec90
and eax, 0xff
lea edx, [esp + 0xe0]
sub eax, 3
push eax
push 0x50f938
push edx
call fcn.004df246
lea edi, [esp + 0xec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x49ebfd
call fcn.004deb1b
test esi, esi
jbe 0x49ec44
mov ecx, dword [esp + 0x20]
push 0
lea ebx, [esi + ecx]
lea ecx, [esp + 0x1c]
push ebx
call fcn.00412290
test al, al
je 0x49ec44
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, esi
lea esi, [esp + 0xe0]
lea edi, [eax + edx]
mov edx, ecx
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 + 0x1c]
call fcn.00412270
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x512a2c
call fcn.004bea10
lea eax, [esp + 0x134]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0x27c], 0xc
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00411f10
push 1
lea ecx, [esp + 0x134]
mov byte [esp + 0x280], 3
call fcn.00411e90
push str.9999999999999999
lea edx, [esp + 0x178]
push 0x5100e0
push edx
call fcn.004df246
mov al, byte [esp + 0x1e]
push ecx
mov ebp, esp
mov dword [esp + 0x50], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00411e90
lea edi, [esp + 0x184]
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 0x49ed0c
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x184]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
sub esp, 0x10
lea eax, [esp + 0x32]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
push 0x50f8ec
mov byte [esp + 0x2a4], 0xd
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x5b]
mov ecx, esp
mov dword [esp + 0xac], esp
push edx
push 0x5119ec
mov byte [esp + 0x2b4], 0xe
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x53]
mov ecx, esp
mov dword [esp + 0xc8], esp
push eax
push 0x520168
mov byte [esp + 0x2c4], 0xf
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x2cc], 0x10
mov esi, esp
mov dword [esp + 0x9c], esp
push ecx
mov ecx, esp
mov dword [esp + 0xa8], esp
push 6
push 0x510ec0
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0xb4], esp
push edx
mov byte [esp + 0x2e0], 0x11
call fcn.004118e0
lea eax, [esp + 0x1c0]
mov ecx, 0x520200
push eax
mov byte [esp + 0x2e0], 3
call fcn.004cb970
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x6c], cx
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x288], 0x12
call fcn.00411c90
push 1
lea ecx, [esp + 0x168]
mov byte [esp + 0x280], 3
call fcn.00411e90
lea ecx, [esp + 0x68]
call fcn.004c4fe0
cmp ax, 2
je 0x49ef7c
lea ecx, [esp + 0x68]
call fcn.004c4fe0
cmp ax, 1
jne 0x49ec98
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x68]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
test edi, edi
jne 0x49ee59
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x174]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
call fcn.00411e90
mov ebx, dword [esp + 0x44]
xor ebp, ebp
push ebp
lea esi, [ebx + 0x78]
mov ecx, esi
call fcn.004bec90
and eax, 0xff
lea edi, [esp + 0x174]
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 0x49ef02
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x28c], 0x13
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x510864
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x28c], 3
call fcn.004cb760
jmp 0x49ec98
push ecx
lea ecx, [esp + 0x178]
mov eax, esp
mov dword [esp + 0x58], esp
push ecx
push eax
mov ecx, ebx
call fcn.004915d0
lea ecx, [esp + 0x18]
call fcn.004beca0
lea ecx, [esp + 0x14]
call fcn.004bee30
test ax, ax
jne 0x49efd2
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x28c], 0x14
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x510864
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x28c], 3
call fcn.004cb760
jmp 0x49ec98
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 2
call fcn.00411e90
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x280], 1
call fcn.00411e90
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0
call fcn.004beab0
push 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x280], 0xffffffff
call fcn.00411e90
mov ax, 1
jmp 0x49f9bb
push ebp
mov ecx, esi
xor edi, edi
call fcn.004bec90
and eax, 0xff
sub eax, 3
test eax, eax
jle 0x49f013
push edi
lea ecx, [esp + 0x18]
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 0x49efe8
push ebp
push ebp
mov ecx, esi
call fcn.004bec90
push eax
push ebp
mov ecx, ebx
call fcn.004a32a0
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x280], 2
call fcn.00411e90
jmp 0x49f962
mov al, byte [esp + 0x12]
push ecx
test al, al
mov ecx, esp
jne 0x49f0eb
mov dword [esp + 0x58], esp
push 6
push 0x512c24
call fcn.004bea10
lea eax, [esp + 0xa4]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
xor edi, edi
push ecx
push edi
push eax
lea ecx, [ebx + 0x68]
mov byte [esp + 0x288], 0x15
call fcn.00411c90
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x27c], 3
cmp eax, edi
je 0x49f0d1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f0c8
cmp al, 0xff
je 0x49f0c8
dec al
mov byte [ecx], al
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
jmp 0x49f16b
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
jmp 0x49f16b
mov dword [esp + 0x58], esp
push 6
push 0x512c1c
call fcn.004bea10
lea edx, [esp + 0xc4]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
xor edi, edi
push ecx
push edi
push eax
lea ecx, [ebx + 0x68]
mov byte [esp + 0x288], 0x16
call fcn.00411c90
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x27c], 3
cmp eax, edi
je 0x49f156
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f14d
cmp al, 0xff
je 0x49f14d
dec al
mov byte [ecx], al
jmp 0x49f156
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
push 6
push 0x512c24
lea ecx, [esp + 0x8c]
mov byte [ebx + 0x45], 0
mov byte [ebx + 0x46], 1
call fcn.004bea10
mov ecx, dword [ebx + 0x88]
lea esi, [ebx + 0x80]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x288], 0x17
call fcn.004126e0
lea ecx, [esp + 0x84]
mov byte [esp + 0x27c], 3
call fcn.004beab0
push 6
push 0x512c1c
lea ecx, [esp + 0x44]
call fcn.004bea10
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x288], 0x18
call fcn.004126e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x27c], 3
call fcn.004beab0
mov ecx, ebx
call fcn.004a2cc0
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x49f21e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f215
cmp al, 0xff
je 0x49f215
dec al
mov byte [ecx], al
jmp 0x49f21e
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
cmp eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x49f24f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f246
cmp al, 0xff
je 0x49f246
dec al
mov byte [ecx], al
jmp 0x49f24f
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x27c], 0
call fcn.004beab0
mov eax, dword [esp + 0x70]
cmp eax, edi
je 0x49f9b8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f9af
cmp al, 0xff
je 0x49f9af
dec al
mov byte [ecx], al
jmp 0x49f9b8
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x512c5c
call fcn.004bea10
lea edx, [esp + 0xd4]
push edx
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
xor esi, esi
lea ebp, [ebx + 0x68]
push ecx
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x288], 0x19
call fcn.00411c90
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x27c], 3
cmp eax, esi
je 0x49f307
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f2fe
cmp al, 0xff
je 0x49f2fe
dec al
mov byte [ecx], al
jmp 0x49f307
push ecx
call fcn.004deb10
add esp, 4
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0xe8]
push str._.0f
push ecx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
call fcn.004df246
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [0x4f73d0]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [ebp + 8]
sub edx, ecx
cmp edx, esi
ja 0x49f362
call fcn.004deb1b
xor edi, edi
cmp esi, edi
jbe 0x49f3b0
mov edx, dword [ebp + 8]
mov eax, esi
add eax, edx
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x4c], eax
call fcn.00412290
test al, al
je 0x49f3b0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, esi
add edi, eax
mov eax, ecx
lea esi, [esp + 0xe0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x44]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
add eax, ecx
xor edi, edi
mov byte [eax], 0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x512cb8
call fcn.004bea10
lea ecx, [esp + 0xb4]
push ecx
call fcn.004d0560
add esp, 8
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x2c]
push edx
push edi
push eax
mov byte [esp + 0x288], 0x1a
call fcn.00411c90
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x27c], 3
cmp eax, edi
je 0x49f41d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f414
cmp al, 0xff
je 0x49f414
dec al
mov byte [ecx], al
jmp 0x49f41d
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [0x4f73d0]
mov edx, dword [ebp + 8]
sub eax, edx
mov dword [esp + 0xb4], edi
cmp eax, 1
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
ja 0x49f446
call fcn.004deb1b
mov edi, dword [ebp + 8]
push 0
inc edi
mov ecx, ebp
push edi
call fcn.00412290
test al, al
je 0x49f46e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add eax, ecx
mov byte [eax], 0x20
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edi
add edi, eax
mov byte [edi], 0
mov eax, dword [0x4f73d0]
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, esi
jae 0x49f47f
mov esi, ecx
sub eax, dword [ebp + 8]
cmp eax, esi
ja 0x49f48b
call fcn.004deb1b
test esi, esi
jbe case.default.0x49e859
mov ecx, dword [ebp + 8]
mov eax, esi
add eax, ecx
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x4c], eax
call fcn.00412290
test al, al
je case.default.0x49e859
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49f4b5
mov eax, 0x4f7480
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00412270
xor esi, esi
push esi
push 3
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x6c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
lea edx, [ebx + 0x68]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov byte [esp + 0x2a8], 0x1b
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0x2a4], 3
call fcn.004cb6b0
cmp ax, 2
jne 0x49f5da
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x49f55d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f554
cmp al, 0xff
je 0x49f554
dec al
mov byte [ecx], al
jmp 0x49f55d
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x49f58e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f585
cmp al, 0xff
je 0x49f585
dec al
mov byte [ecx], al
jmp 0x49f58e
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x27c], 0
call fcn.004beab0
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x49f83b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f832
cmp al, 0xff
je 0x49f832
dec al
mov byte [ecx], al
mov ax, 1
jmp 0x49f9bb
push 0x3b9ac9ff
lea eax, [esp + 0x178]
push 0x50f938
push eax
call fcn.004df246
push ecx
mov cl, byte [esp + 0x23]
mov edx, esp
lea edi, [esp + 0x184]
xor eax, eax
mov dword [esp + 0x64], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x184]
push ecx
push eax
mov ecx, edx
call fcn.004120b0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
push 0x50f8ec
mov byte [esp + 0x2a4], 0x1c
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x5b]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
push 0x50fa38
mov byte [esp + 0x2b4], 0x1d
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0x52]
mov ecx, esp
mov dword [esp + 0xbc], esp
push edx
push 0x520168
mov byte [esp + 0x2c4], 0x1e
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x2cc], 0x1f
mov edi, esp
mov dword [esp + 0x90], esp
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push 0x510ec0
call fcn.004bea10
push edi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x2dc], 0x20
mov edi, esp
mov dword [esp + 0xa8], esp
push ecx
mov ecx, esp
mov dword [esp + 0xac], esp
push 6
push 0x512c5c
call fcn.004bea10
push edi
call fcn.004d0560
add esp, 8
lea eax, [esp + 0xec]
mov byte [esp + 0x2dc], 3
push eax
mov ecx, 0x520200
call fcn.004cb970
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x6c], cx
push esi
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x288], 0x21
call fcn.00411c90
mov eax, dword [esp + 0x94]
mov byte [esp + 0x27c], 3
cmp eax, esi
je 0x49f760
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f757
cmp al, 0xff
je 0x49f757
dec al
mov byte [ecx], al
jmp 0x49f760
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
call fcn.004c4fe0
cmp ax, 2
je 0x49f79c
lea ecx, [esp + 0x68]
call fcn.004c4fe0
cmp ax, 1
je 0x49f844
jmp 0x49f5da
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x49f7c1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f7b8
cmp al, 0xff
je 0x49f7b8
dec al
mov byte [ecx], al
jmp 0x49f7c1
push ecx
call fcn.004deb10
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
je 0x49f7f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f7e9
cmp al, 0xff
je 0x49f7e9
dec al
mov byte [ecx], al
jmp 0x49f7f2
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x27c], 0
call fcn.004beab0
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x49f83b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f832
cmp al, 0xff
je 0x49f832
dec al
mov byte [ecx], al
mov ax, 1
jmp 0x49f9bb
push ecx
call fcn.004deb10
add esp, 4
mov ax, 1
jmp 0x49f9bb
lea eax, [esp + 0x54]
lea ecx, [esp + 0x68]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x49f85e
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x174]
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 + 0x58]
and ecx, 3
cmp eax, ebp
rep movsb byte es:[edi], byte [esi]
je 0x49f8a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f8a0
cmp al, 0xff
je 0x49f8a0
dec al
mov byte [ecx], al
jmp 0x49f8a9
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x174]
push ecx
call fcn.004df3b8
mov ecx, eax
add esp, 4
mov edx, eax
mov byte [esp + 0x54], al
sar ecx, 0x10
lea esi, [ebx + 0x78]
mov byte [esp + 0x56], cl
sar edx, 8
shr eax, 0x18
push ebp
mov ecx, esi
mov byte [esp + 0x59], dl
mov byte [esp + 0x5b], al
xor edi, edi
call fcn.004bec90
and eax, 0xff
sub eax, 4
js 0x49f91d
mov dl, byte [esp + edi + 0x54]
mov ecx, esi
push edx
push ebp
call fcn.004bec90
movzx ax, al
sub eax, edi
mov ecx, esi
push eax
call fcn.004bedb0
push ebp
mov ecx, esi
inc edi
call fcn.004bec90
and eax, 0xff
sub eax, 4
cmp edi, eax
jle 0x49f8ed
push ebp
push ebp
mov ecx, esi
call fcn.004bec90
push eax
push ebp
mov ecx, ebx
call fcn.004a32a0
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x49f956
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f94d
cmp al, 0xff
je 0x49f94d
dec al
mov byte [ecx], al
jmp 0x49f956
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49f987
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f97e
cmp al, 0xff
je 0x49f97e
dec al
mov byte [ecx], al
jmp 0x49f987
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x27c], 0
call fcn.004beab0
mov eax, dword [esp + 0x70]
cmp eax, ebp
jmp 0x49f272
push ecx
call fcn.004deb10
add esp, 4
mov ax, si
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x270
ret