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

Disassembly:
push 0xffffffffffffffff
push 0x4f0b3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
mov al, byte [esp + 0x3b]
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x8c], 0xffffffff
call fcn.004be970
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004be970
mov cl, byte [esp + 0x4b]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x3c], esp
push ebx
mov byte [esp + 0x1f4], 2
mov byte [esi], cl
mov ecx, esi
mov dword [esp + 0x38], esi
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, esi
call fcn.00412290
test al, al
je 0x487747
mov eax, dword [esp + 0x74]
mov edx, esi
mov ecx, eax
mov esi, 0x520168
mov edi, dword [edx + 4]
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, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov dword [ecx + 8], eax
add eax, edx
mov byte [eax], bl
push ebx
lea ecx, [esp + 0x60]
call fcn.004cabb0
mov al, byte [esp + 0x4b]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0xa
mov ecx, ebp
mov byte [esp + 0x1e4], 4
call fcn.00485ff0
cmp ax, bx
jge 0x48786e
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 5
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x1e0], 3
mov esi, eax
je 0x4877eb
push ebx
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, esi
jne 0x4877d8
mov edi, dword [esp + 0x18]
push edi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x487860
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x48784d
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
jne 0x487963
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 6
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x1e0], 3
mov esi, eax
je 0x4878e0
push ebx
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, esi
jne 0x4878cd
mov edi, dword [esp + 0x18]
push edi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x487955
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x487942
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
movsx dx, byte [0x512744]
mov cl, byte [ebp + 0x31]
push edx
mov byte [0x512746], cl
push 0x512745
lea ecx, [esp + 0x18]
call fcn.004bef10
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
cmp ax, bx
jg 0x487a98
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 7
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x1e0], 3
mov esi, eax
je 0x487a15
push ebx
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, esi
jne 0x487a02
mov edi, dword [esp + 0x18]
push edi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x487a8a
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x487a77
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
movsx cx, byte [0x512744]
mov al, byte [ebp + 0x31]
push ecx
push 0x512751
lea ecx, [esp + 0x18]
mov byte [0x512752], al
call fcn.004bef10
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
cmp ax, bx
jg 0x487bcc
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x1e0], 3
mov esi, eax
je 0x487b49
push ebx
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, esi
jne 0x487b36
mov edi, dword [esp + 0x18]
push edi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x487bbe
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x487bab
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov ecx, ebp
call fcn.00481930
cmp ax, 0xffff
jne 0x487c87
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, esi
mov byte [esp + 0x1e0], 3
je 0x487c04
push ebx
mov ecx, edi
call fcn.00413810
add edi, 4
cmp edi, esi
jne 0x487bf1
mov edi, dword [esp + 0x18]
push edi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x487c79
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x487c66
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov byte [esp + 0x6c], al
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50fb5c
call fcn.004bea10
push esi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50fa00
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
mov al, byte [esp + 0x6c]
push ebx
push ecx
cmp al, bl
mov ecx, esp
jne 0x487cf3
mov dword [esp + 0x34], esp
push 6
push 0x50fb54
jmp 0x487cfe
mov dword [esp + 0x34], esp
push 6
push 0x50fb4c
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0xd8]
and ecx, 0xff
push ecx
push 0x50f938
push edx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [esp + 0x5f]
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0xec]
push eax
push edx
mov byte [esp + 0x1fc], 9
call fcn.00411a00
push ecx
mov byte [esp + 0x1f8], 0xa
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x50f9a0
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1f8], 4
call fcn.004d15e0
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov esi, eax
call fcn.004bba40
add esp, 4
cmp si, 2
je 0x488a56
movsx eax, si
sub eax, ebx
je 0x48801b
dec eax
jne 0x487c8b
movsx dx, byte [0x51275c]
mov cl, byte [esp + 0x6c]
mov al, byte [ebp + 0x31]
mov byte [0x512764], cl
push edx
push 0x51275d
lea ecx, [esp + 0x18]
mov byte [0x51275e], al
call fcn.004bef10
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.00476f90
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp edi, eax
mov dword [esp + 0x24], eax
mov esi, edi
je 0x487e42
push ebx
mov ecx, esi
call fcn.00413810
mov eax, dword [esp + 0x24]
add esi, 4
cmp esi, eax
jne 0x487e2f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [esp + 0x28], edi
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
cmp ax, bx
jle 0x488b00
cmp byte [esp + 0x6c], bl
jne 0x488031
movsx cx, byte [0x512768]
mov al, byte [ebp + 0x31]
push ecx
push 0x512769
lea ecx, [esp + 0x18]
mov byte [0x51276a], al
mov byte [0x512770], bl
mov byte [0x512771], bl
call fcn.004bef10
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
cmp ax, bx
jg 0x487f06
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50fb44
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
movsx dx, byte [0x512774]
mov cl, byte [ebp + 0x31]
push edx
mov byte [0x512776], cl
push 0x512775
lea ecx, [esp + 0x18]
mov byte [0x51277c], bl
mov byte [0x51277d], bl
call fcn.004bef10
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
cmp ax, bx
jg 0x487f97
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0xd
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50fb44
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
movsx cx, byte [0x512788]
mov al, byte [ebp + 0x31]
push ecx
push 0x512789
lea ecx, [esp + 0x18]
mov byte [0x51278a], al
call fcn.004bef10
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0xe
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50fb3c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
jmp 0x487c8b
mov ecx, ebp
call fcn.00481930
cmp ax, 0xffff
je 0x487c8b
jmp 0x487c87
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x64], ebx
and eax, 0xff
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x2c], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x50fb5c
call fcn.004bea10
push esi
call fcn.004d0560
mov ecx, dword [0x52020c]
add esp, 8
call fcn.004d1040
mov eax, dword [esp + 0x64]
cmp ax, bx
jne 0x488094
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb34
jmp 0x4880df
cmp ax, 1
jne 0x4880ca
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb34
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb24
jmp 0x4880df
cmp ax, 2
jne 0x4880ef
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50fb14
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f9d0
call fcn.004bea10
mov ecx, dword [0x52020c]
call fcn.004d1240
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xd8]
push ecx
push 0x50f938
push edx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [esp + 0x9a]
mov ecx, esp
mov dword [esp + 0x8c], esp
lea edx, [esp + 0xec]
push eax
push edx
mov byte [esp + 0x1fc], 0xf
call fcn.00411a00
push ecx
mov byte [esp + 0x1f8], 0x10
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x50f9a0
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1f8], 4
call fcn.004d15e0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00411ee0
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x44]
lea edx, [esp + 0x34]
lea eax, [esp + 0x8c]
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x48], esi
call fcn.004872c0
cmp ax, bx
jle 0x488bef
cmp ax, 0xffff
je 0x488cd5
movsx edx, word [esp + 0x8c]
push edx
lea eax, [esp + 0xdc]
push 0x50f938
push eax
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea edx, [esp + 0x95]
mov ecx, esp
mov dword [esp + 0x8c], esp
lea eax, [esp + 0xec]
push edx
push eax
mov byte [esp + 0x1fc], 0x13
call fcn.00411a00
push ecx
mov byte [esp + 0x1f8], 0x14
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fb2c
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1f8], 4
call fcn.004d15e0
cmp word [esp + 0x7c], bx
jl 0x4882f0
movsx ecx, word [esp + 0x7c]
push ecx
lea edx, [esp + 0xdc]
push 0x50f938
push edx
call fcn.004df246
add esp, 8
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x50f5c0
call fcn.004bea10
sub esp, 0x10
lea eax, [esp + 0x7f]
mov ecx, esp
mov dword [esp + 0x8c], esp
lea edx, [esp + 0xec]
push eax
push edx
mov byte [esp + 0x1fc], 0x15
call fcn.00411a00
push ecx
mov byte [esp + 0x1f8], 0x16
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fb1c
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1f8], 4
call fcn.004d15e0
xor esi, esi
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x48846d
mov ecx, dword [esp + 0x3c]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x48846d
mov ecx, dword [esp + 0x24]
push esi
mov al, byte [edi + ecx]
lea ecx, [esp + 0x38]
cmp al, 1
jne 0x4883ec
call fcn.00411ba0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.0047e730
cmp ax, bx
je 0x48845c
push ebx
push 0xffff
push esi
lea ecx, [esp + 0x40]
call fcn.00411ba0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.004be980
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x1f0], 0x17
call fcn.00411ba0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.004118e0
push esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x200], 0x18
call fcn.00411ba0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
call fcn.004be980
mov ecx, dword [0x520208]
mov byte [esp + 0x200], 4
call fcn.004cebe0
mov eax, dword [esp + 0x24]
inc esi
add eax, 0x1c
mov dword [esp + 0x24], eax
jmp 0x4882f6
call fcn.00411ba0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call fcn.004be980
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e8], 0x19
call fcn.00411ba0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.004118e0
push ecx
mov byte [esp + 0x1f8], 0x1a
mov ecx, esp
mov dword [esp + 0x90], esp
push 6
push 0x50f998
call fcn.004bea10
mov ecx, dword [0x52020c]
mov byte [esp + 0x1f8], 4
call fcn.004d15e0
mov eax, dword [esp + 0x24]
inc esi
add eax, 0x1c
mov dword [esp + 0x24], eax
jmp 0x4882f6
mov ecx, dword [0x52020c]
call fcn.004d17f0
push 0xa
mov esi, eax
call fcn.004bba40
mov eax, dword [esp + 0x68]
add esp, 4
cmp ax, bx
jne 0x4886fd
cmp si, 1
je 0x488dc6
cmp si, bx
jne 0x48804a
push 0xffff
lea edx, [esp + 0xdc]
push 0x50f938
push edx
call fcn.004df246
mov al, byte [esp + 0x77]
push ecx
mov edx, esp
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
mov dword [esp + 0x98], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xec]
push ecx
mov ecx, edx
call fcn.004120b0
sub esp, 0x10
lea edx, [esp + 0xa4]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
push 0x50f8ec
mov byte [esp + 0x208], 0x1c
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0xb7]
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
push 0x50fa38
mov byte [esp + 0x218], 0x1d
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0xb7]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
push 0x520168
mov byte [esp + 0x228], 0x1e
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x230], 0x1f
mov esi, esp
mov dword [esp + 0xb0], esp
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x240], 0x20
mov esi, esp
mov dword [esp + 0x90], esp
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
add esp, 8
lea eax, [esp + 0x110]
mov byte [esp + 0x240], 4
push eax
mov ecx, 0x520200
call fcn.004cb970
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x50], cx
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ec], 0x21
call fcn.00411c90
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x1e0], 4
cmp eax, ebx
je 0x488636
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48862d
cmp al, 0xff
je 0x48862d
dec al
mov byte [ecx], al
jmp 0x488636
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call fcn.004c4fe0
cmp ax, 2
je 0x48804a
lea eax, [esp + 0x90]
lea ecx, [esp + 0x4c]
push eax
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x48867b
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xd8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x94]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4886c7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4886be
cmp al, 0xff
je 0x4886be
dec al
mov byte [ecx], al
jmp 0x4886c7
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x94], ebx
push ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.004df3b8
add esp, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], 1
jmp 0x48804a
cmp ax, 1
jne 0x488a34
cmp si, 2
je 0x488fdd
movsx eax, si
sub eax, ebx
je 0x4887b2
dec eax
jne 0x48804a
mov dl, byte [ebp + 0x31]
mov eax, dword [esp + 0x7c]
mov byte [0x51276a], dl
mov ecx, eax
movsx dx, byte [0x512768]
sar ecx, 8
mov byte [0x512770], cl
push edx
push 0x512769
lea ecx, [esp + 0x18]
mov byte [0x512771], al
call fcn.004bef10
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov dword [esp + 0x24], esi
mov edi, eax
je 0x488777
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x488769
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x28], eax
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
cmp ax, bx
jle 0x4891f3
mov dword [esp + 0x64], 2
jmp 0x48804a
push 0xffff
lea eax, [esp + 0xdc]
push 0x50f938
push eax
call fcn.004df246
push ecx
mov cl, byte [esp + 0x87]
mov ebp, esp
lea edi, [esp + 0xe8]
xor eax, eax
mov dword [esp + 0x40], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebp
call fcn.00412290
test al, al
je 0x48882c
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0xe8]
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
sub esp, 0x10
lea eax, [esp + 0xa2]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
push 0x50f8ec
mov byte [esp + 0x208], 0x23
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0xb3]
mov ecx, esp
mov dword [esp + 0xb8], esp
push edx
push 0x50fa38
mov byte [esp + 0x218], 0x24
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0xc5]
mov ecx, esp
mov dword [esp + 0xb0], esp
push eax
push 0x520168
mov byte [esp + 0x228], 0x25
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x230], 0x26
mov esi, esp
mov dword [esp + 0xc8], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
mov byte [esp + 0x240], 0x27
mov esi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x50fb34
call fcn.004bea10
push esi
call fcn.004d0560
add esp, 8
lea ecx, [esp + 0x124]
mov byte [esp + 0x240], 4
push ecx
mov ecx, 0x520200
call fcn.004cb970
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ec], 0x28
mov word [esp + 0x58], dx
call fcn.00411c90
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x1e0], 4
cmp eax, ebx
je 0x48896d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x488964
cmp al, 0xff
je 0x488964
dec al
mov byte [ecx], al
jmp 0x48896d
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
call fcn.004c4fe0
cmp ax, 2
je 0x48804a
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x4c]
push edx
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x4889b2
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xd8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xa4]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4889fe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4889f5
cmp al, 0xff
je 0x4889f5
dec al
mov byte [ecx], al
jmp 0x4889fe
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0xa4], ebx
push ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call fcn.004df3b8
add esp, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], 1
jmp 0x48804a
cmp si, 1
je 0x489331
cmp si, bx
je 0x4895ae
cmp ax, 3
jne 0x48804a
jmp 0x487c8b
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x1e0], 3
je 0x488a7d
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x488a6a
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488af2
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x488adf
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0xb
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x488b6c
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x488b59
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488be1
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x488bce
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x11
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x488c5b
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x488c48
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488db5
push ebx
mov ecx, esi
call fcn.00413830
add esi, 0x1c
cmp esi, edi
jne 0x488cc1
jmp 0x488db1
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x12
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x488d41
push ebx
mov ecx, esi
call fcn.00413810
add esi, 4
cmp esi, edi
jne 0x488d2e
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1e4], 2
call fcn.00411e90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488db5
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x488da3
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
xor ax, ax
jmp 0x489861
movsx ax, byte [0x512788]
mov dl, byte [ebp + 0x31]
push eax
push 0x512789
lea ecx, [esp + 0x18]
mov byte [0x51278a], dl
call fcn.004bef10
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
cmp ax, bx
jg 0x488f17
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x1b
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x488e77
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x488e65
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488eb1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x488ea8
cmp al, 0xff
je 0x488ea8
dec al
mov byte [ecx], al
jmp 0x488eb1
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488f09
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x488ef7
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x1e0], 3
je 0x488f3d
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x488f2b
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488f77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x488f6e
cmp al, 0xff
je 0x488f6e
dec al
mov byte [ecx], al
jmp 0x488f77
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x488fcf
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x488fbd
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
movsx cx, byte [0x512788]
mov al, byte [ebp + 0x31]
push ecx
push 0x512789
lea ecx, [esp + 0x18]
mov byte [0x51278a], al
call fcn.004bef10
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
cmp ax, bx
jg 0x48912d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x22
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x48908d
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48907b
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4890c7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4890be
cmp al, 0xff
je 0x4890be
dec al
mov byte [ecx], al
jmp 0x4890c7
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x48911f
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x48910d
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x1e0], 3
je 0x489153
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x489141
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x48918d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x489184
cmp al, 0xff
je 0x489184
dec al
mov byte [ecx], al
jmp 0x48918d
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, eax
mov dword [esp + 0x1e0], 0xffffffff
mov edi, eax
je 0x4891e5
mov ecx, esi
call fcn.00404ef0
add esi, 0x1c
cmp esi, edi
jne 0x4891d3
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x29
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x48925e
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x48924c
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x489298
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48928f
cmp al, 0xff
je 0x48928f
dec al
mov byte [ecx], al
jmp 0x489298
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1e0], ebp
mov dword [esp + 0x44], esi
je 0x489323
mov bl, 0x2a
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1e4], 0x2b
call fcn.00411e90
lea ecx, [esi + 8]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
lea ecx, [esi + 4]
mov dword [esp + 0x1e0], ebp
call fcn.004beab0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x44], esi
jne 0x4892e1
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
movsx dx, byte [0x512788]
mov cl, byte [ebp + 0x31]
push edx
mov byte [0x51278a], cl
push 0x512789
lea ecx, [esp + 0x18]
call fcn.004bef10
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.004be980
mov ecx, ebp
call fcn.004825d0
cmp ax, bx
jg 0x4894b5
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x2c
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x4893e2
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x4893d0
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x48941c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x489413
cmp al, 0xff
je 0x489413
dec al
mov byte [ecx], al
jmp 0x48941c
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1e0], ebp
mov dword [esp + 0x44], esi
je 0x4894a7
mov bl, 0x2d
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1e4], 0x2e
call fcn.00411e90
lea ecx, [esi + 8]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
lea ecx, [esi + 4]
mov dword [esp + 0x1e0], ebp
call fcn.004beab0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x44], esi
jne 0x489465
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x1e0], 3
je 0x4894db
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x4894c9
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x489515
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48950c
cmp al, 0xff
je 0x48950c
dec al
mov byte [ecx], al
jmp 0x489515
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1e0], ebp
mov dword [esp + 0x44], esi
je 0x4895a0
mov bl, 0x2f
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1e4], 0x30
call fcn.00411e90
lea ecx, [esi + 8]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
lea ecx, [esi + 4]
mov dword [esp + 0x1e0], ebp
call fcn.004beab0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x44], esi
jne 0x48955e
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov al, byte [ebp + 0x31]
movsx dx, byte [0x512774]
mov byte [0x512776], al
mov eax, dword [esp + 0x7c]
mov ecx, eax
push edx
sar ecx, 8
mov byte [0x51277c], cl
push 0x512775
lea ecx, [esp + 0x18]
mov byte [0x51277d], al
call fcn.004bef10
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov dword [esp + 0x44], esi
mov edi, eax
je 0x489601
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x4895f3
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
push ecx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x28], eax
call fcn.004be980
mov ecx, ebp
call fcn.004823a0
push ebx
push 1
push ecx
cmp ax, bx
mov ecx, esp
jg 0x48976d
mov dword [esp + 0x3c], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x31
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x48969a
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x489688
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov eax, dword [esp + 0x58]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4896d4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4896cb
cmp al, 0xff
je 0x4896cb
dec al
mov byte [ecx], al
jmp 0x4896d4
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x1e0], ebp
mov dword [esp + 0x44], esi
je 0x48975f
mov bl, 0x32
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x1e4], 0x33
call fcn.00411e90
lea ecx, [esi + 8]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
lea ecx, [esi + 4]
mov dword [esp + 0x1e0], ebp
call fcn.004beab0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x44], esi
jne 0x48971d
mov esi, dword [esp + 0x38]
push esi
call fcn.004deb10
add esp, 4
jmp 0x48985d
mov dword [esp + 0x3c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x1f0], 0x34
mov ecx, esp
mov dword [esp + 0x70], esp
push 6
push 0x50fb04
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x1f0], 4
call fcn.004cb760
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x1e0], 3
mov edi, eax
je 0x4897d2
mov ecx, esi
call fcn.004beab0
add esi, 4
cmp esi, edi
jne 0x4897c0
mov esi, dword [esp + 0x18]
push esi
call fcn.004deb10
mov ecx, dword [esp + 0x58]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1e0], 2
je 0x48981c
mov al, byte [ecx - 1]
lea edx, [ecx - 1]
cmp al, bl
je 0x489813
cmp al, 0xff
je 0x489813
push ecx
lea ecx, [esp + 0x54]
call fcn.004123b0
dec byte [eax]
jmp 0x48981c
push edx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x1e0], 1
call fcn.004beab0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e0], bl
call fcn.004beab0
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.00411b60
mov ax, 1
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d4
ret