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

Disassembly:
push 0xffffffffffffffff
push 0x4f0da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push ebx
push ebp
mov dword [esp + 0x58], ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.004be1a0
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2e8], esi
call fcn.004be1a0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov edi, 0x520010
or ecx, 0xffffffff
mov dword [esp + 0x58], esp
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x2fc], 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004144a0
test al, al
je 0x489bd0
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x520010
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]
mov ecx, ebp
call fcn.00414480
xor esi, esi
push esi
lea ecx, [esp + 0x34]
call fcn.004ca360
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be1a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be1a0
mov ecx, dword [esp + 0x60]
push 4
mov byte [esp + 0x2ec], 4
call fcn.00484f40
cmp ax, si
jge 0x489c42
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 5
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x50f970
jmp 0x489c70
jne 0x489cb2
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 6
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x50f998
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be2e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be2e0
mov eax, dword [esp + 0x28]
jmp 0x48b12d
push 0xff
lea eax, [esp + 0xe4]
push 0x50f930
push eax
call fcn.004de8d6
push ecx
mov cl, byte [esp + 0x23]
mov ebp, esp
xor esi, esi
lea edi, [esp + 0xf0]
xor eax, eax
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x58], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004144a0
test al, al
je 0x489d27
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xf0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00414480
xor esi, esi
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
push 0x50f8e4
mov byte [esp + 0x310], 7
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x8b]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
push 0x50f9a8
mov byte [esp + 0x320], 8
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x87]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
push 0x520010
mov byte [esp + 0x330], 9
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x338], 0xa
mov edi, esp
mov dword [esp + 0x9c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x50f9a0
call fcn.004be240
push edi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x348], 0xb
mov edi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f9a0
call fcn.004be240
push edi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0xe0]
mov byte [esp + 0x348], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2f4], 0xc
mov word [esp + 0x2c], dx
call fcn.00413e90
mov eax, dword [esp + 0x88]
mov byte [esp + 0x2e8], 4
cmp eax, esi
je 0x489e5c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x489e53
cmp al, 0xff
je 0x489e53
dec al
mov byte [ecx], al
jmp 0x489e5c
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.004c48d0
cmp ax, 2
je 0x489c87
lea edx, [esp + 0x70]
lea ecx, [esp + 0x20]
push edx
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, esi
jne 0x489e9e
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
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 + 0x74]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x489ee9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x489ee0
cmp al, 0xff
je 0x489ee0
dec al
mov byte [ecx], al
jmp 0x489ee9
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x74], esi
push ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
call fcn.004dea48
add esp, 4
cmp al, 0xff
mov byte [esp + 0x40], al
jb 0x489f58
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0xd
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x50fa14
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
jmp 0x489cb2
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
xor edi, edi
cmp word [esp + 0x34], di
jne 0x48a3db
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50fa0c
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0800
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50fa04
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xe0]
and edx, 0xff
push edx
push 0x50f930
push eax
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esp + 0x5b]
mov ecx, esp
mov dword [esp + 0x60], esp
lea eax, [esp + 0xf4]
push edx
push eax
mov byte [esp + 0x304], 0xe
call fcn.00413bf0
push ecx
mov byte [esp + 0x300], 0xf
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x50f988
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x300], 4
call fcn.004d0d40
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov esi, eax
call fcn.004bb3e0
movsx eax, si
add esp, 4
sub eax, edi
je 0x48a07b
dec eax
je 0x48b105
jmp 0x489f65
push 0xff
lea ecx, [esp + 0xe4]
push 0x50f930
push ecx
call fcn.004de8d6
mov dl, byte [esp + 0x53]
push ecx
mov ebp, esp
xor eax, eax
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
mov byte [ebp], dl
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], esp
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x48a0f0
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0xf0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea edx, [esp + 0x7b]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
push 0x50f8e4
mov byte [esp + 0x310], 0x10
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x9b]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x50f9a8
mov byte [esp + 0x320], 0x11
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xa9]
mov ecx, esp
mov dword [esp + 0xa4], esp
push edx
push 0x520010
mov byte [esp + 0x330], 0x12
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x338], 0x13
mov esi, esp
mov dword [esp + 0x98], esp
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x348], 0x14
mov esi, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, esp
mov dword [esp + 0x98], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea eax, [esp + 0x12c]
mov ecx, 0x5200a8
mov byte [esp + 0x348], 4
push eax
call fcn.004cb120
mov cx, word [eax]
lea esi, [eax + 4]
mov word [esp + 0x20], cx
mov ecx, dword [0x4f73d0]
mov eax, dword [esi + 8]
mov byte [esp + 0x2e8], 0x15
mov ebp, eax
cmp ecx, ebp
jae 0x48a1fd
mov ebp, ecx
lea edx, [esp + 0x24]
cmp edx, esi
jne 0x48a222
push ecx
push ebp
lea ecx, [esp + 0x2c]
call fcn.00414360
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
push ebx
call fcn.00414360
jmp 0x48a2ab
xor ebx, ebx
cmp ebp, ebx
jbe 0x48a271
cmp ebp, eax
jne 0x48a271
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x48a238
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x48a271
push 1
lea ecx, [esp + 0x28]
call fcn.00414090
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x48a255
mov eax, 0x4f7480
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x2c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x48a2ab
push 1
push ebp
lea ecx, [esp + 0x2c]
call fcn.004144a0
test al, al
je 0x48a2ab
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x48a28d
mov esi, 0x4f7480
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
push ebp
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 + 0x28]
call fcn.00414480
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x2e8], 4
cmp eax, ebx
je 0x48a2db
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48a2d2
cmp al, 0xff
je 0x48a2d2
dec al
mov byte [ecx], al
jmp 0x48a2db
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
call fcn.004c48d0
cmp ax, 2
je 0x48a07b
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x24]
call fcn.004ca4a0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x48a31f
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
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 + 0x74]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x48a368
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48a35f
cmp al, 0xff
je 0x48a35f
dec al
mov byte [ecx], al
jmp 0x48a368
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x74], ebx
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004dea48
add esp, 4
cmp al, 0xff
mov byte [esp + 0x40], al
jb 0x489f58
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x16
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x50fa14
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
jmp 0x48a07b
cmp word [esp + 0x48], di
je 0x48a44d
movsx cx, byte [0x512574]
mov ebx, dword [esp + 0x60]
mov al, byte [esp + 0x40]
push ecx
push 0x512575
mov dl, byte [ebx + 0x2f]
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], edi
mov byte [0x512576], dl
mov byte [0x51257b], al
call fcn.004be740
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
cmp ax, di
jle 0x48b1d6
push 0xa
mov dword [esp + 0x38], 1
call fcn.004bb3e0
add esp, 4
jmp 0x48a451
mov ebx, dword [esp + 0x60]
movsx ax, byte [0x512580]
mov cl, byte [ebx + 0x2f]
mov dl, byte [esp + 0x40]
mov byte [0x512582], cl
push eax
push 0x512581
lea ecx, [esp + 0x24]
mov byte [0x512587], dl
call fcn.004be740
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
cmp ax, di
jge 0x48a4cb
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x18
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x50f970
jmp 0x48a4f9
jne 0x48a519
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x19
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x50f9bc
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
mov dword [esp + 0x34], edi
jmp 0x489f65
push 7
lea ecx, [esp + 0x1c]
call fcn.004be4c0
cmp al, 6
je 0x48a53b
push 7
lea ecx, [esp + 0x1c]
call fcn.004be4c0
cmp al, 7
jne 0x48b266
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50fa0c
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0800
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50fa04
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
lea ecx, [esp + 0x18]
call fcn.004be660
movsx ecx, ax
sub ecx, 9
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
cmp si, di
jl 0x48a5ab
lea ecx, [esp + 0x18]
call fcn.004be660
cmp ax, 0xc
jge 0x48a5ad
xor esi, esi
movsx edi, si
xor ebp, ebp
mov byte [esp + 0x13], 0
test edi, edi
jle 0x48a5f9
lea ecx, [ebp + ebp*2 + 8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004be4c0
cmp al, 0x25
je 0x48a5d4
inc ebp
cmp ebp, edi
jl 0x48a5bb
jmp 0x48a5f9
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50fb04
mov byte [esp + 0x23], 1
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
xor ebp, ebp
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xe0]
and edx, 0xff
push edx
push 0x50f930
push eax
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x60], esp
lea eax, [esp + 0xf4]
push edx
push eax
mov byte [esp + 0x304], 0x1b
call fcn.00413bf0
push ecx
mov byte [esp + 0x300], 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x50f988
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x300], 4
call fcn.004d0d40
xor esi, esi
cmp edi, ebp
jle 0x48a770
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1e0]
push ecx
lea eax, [esi + esi*2 + 0xa]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.004be4c0
lea ecx, [esi + esi*2 + 9]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004be4c0
lea edx, [esi + esi*2 + 8]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004be4c0
push eax
mov ecx, ebx
call fcn.0047ef10
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004be1b0
lea ecx, [esp + 0x40]
call fcn.004be4d0
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004be1b0
sub esp, 0x10
lea eax, [esp + 0x6d]
mov ecx, esp
mov dword [esp + 0x60], esp
lea edx, [esp + 0x1f4]
push eax
push edx
mov byte [esp + 0x304], 0x1d
call fcn.00413bf0
push ecx
mov byte [esp + 0x300], 0x1e
mov ecx, esp
mov dword [esp + 0x74], esp
push 6
push 0x50f980
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x300], 4
call fcn.004d0d40
inc esi
cmp esi, edi
jl 0x48a6aa
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov esi, eax
call fcn.004bb3e0
mov al, byte [esp + 0x17]
add esp, 4
test al, al
movsx eax, si
je 0x48abc7
sub eax, ebp
je 0x48a809
dec eax
je 0x48a7a9
dec eax
je 0x48b06b
jmp 0x489f65
movsx dx, byte [0x512598]
mov cl, byte [esp + 0x40]
mov al, byte [ebx + 0x2f]
mov byte [0x51259f], cl
push edx
push 0x512599
lea ecx, [esp + 0x24]
mov byte [0x51259a], al
call fcn.004be740
lea eax, [esp + 0x18]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
cmp ax, bp
jle 0x48b34c
mov dword [esp + 0x34], 1
mov dword [esp + 0x48], ebp
jmp 0x489f65
push 0xff
lea eax, [esp + 0xe4]
push 0x50f930
push eax
call fcn.004de8d6
push ecx
mov cl, byte [esp + 0x69]
mov ebp, esp
xor eax, eax
lea edi, [esp + 0xf0]
mov dword [esp + 0x24], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 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 0x48a87d
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xf0]
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 + 0x8a]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
push 0x50f8e4
mov byte [esp + 0x310], 0x1f
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x9f]
mov ecx, esp
mov dword [esp + 0x8c], esp
push edx
push 0x50f9a8
mov byte [esp + 0x320], 0x20
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x9a]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
push 0x520010
mov byte [esp + 0x330], 0x21
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x338], 0x22
mov esi, esp
mov dword [esp + 0xa0], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x348], 0x23
mov esi, esp
mov dword [esp + 0x98], esp
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0x104]
mov byte [esp + 0x348], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov dx, word [eax]
mov edi, dword [0x4f73d0]
lea esi, [eax + 4]
mov word [esp + 0x20], dx
mov byte [esp + 0x2e8], 0x24
mov eax, dword [esi + 8]
mov ebp, eax
cmp edi, ebp
jae 0x48a98d
mov ebp, edi
lea ecx, [esp + 0x24]
cmp ecx, esi
jne 0x48aa00
cmp dword [esp + 0x2c], ebp
jae 0x48a9a0
call fcn.004de3d7
lea ecx, [esp + 0x24]
call fcn.00415170
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp eax, edi
jae 0x48a9b5
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jbe 0x48a9f0
mov edx, dword [esp + 0x28]
sub eax, edi
add ebp, edx
push eax
lea ecx, [edi + ebp]
push ecx
push ebp
call fcn.004dea60
mov esi, dword [esp + 0x38]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x24]
push ebx
push esi
call fcn.004144a0
test al, al
je 0x48a9f0
push esi
lea ecx, [esp + 0x28]
call fcn.00414480
push ebx
push ebx
lea ecx, [esp + 0x2c]
call fcn.00414360
jmp 0x48aa8b
xor ebx, ebx
cmp ebp, ebx
jbe 0x48aa4f
cmp ebp, eax
jne 0x48aa4f
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x48aa16
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x48aa4f
push 1
lea ecx, [esp + 0x28]
call fcn.00414090
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x48aa33
mov eax, 0x4f7480
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x2c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x30], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x48aa8b
push 1
push ebp
lea ecx, [esp + 0x2c]
call fcn.004144a0
test al, al
je 0x48aa8b
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x48aa6b
mov esi, 0x4f7480
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0xac]
mov byte [esp + 0x2e8], 4
cmp eax, ebx
je 0x48aabb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48aab2
cmp al, 0xff
je 0x48aab2
dec al
mov byte [ecx], al
jmp 0x48aabb
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.004c48d0
cmp ax, 2
je 0x489f65
lea edx, [esp + 0x94]
lea ecx, [esp + 0x20]
push edx
call fcn.004ca4a0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x48ab02
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
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 + 0x98]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x48ab4e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ab45
cmp al, 0xff
je 0x48ab45
dec al
mov byte [ecx], al
jmp 0x48ab4e
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x98], ebx
push ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.004dea48
add esp, 4
cmp al, 0xff
mov byte [esp + 0x40], al
jb 0x489f58
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x25
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50fa14
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
jmp 0x48a809
sub eax, ebp
je 0x48abd7
dec eax
je 0x48b154
jmp 0x489f65
push 0xff
lea edx, [esp + 0xe4]
push 0x50f930
push edx
call fcn.004de8d6
mov al, byte [esp + 0x66]
push ecx
mov ebp, esp
xor esi, esi
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x48], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x48ac24
call fcn.004de1ab
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x48ac49
mov al, byte [ecx - 1]
test al, al
je 0x48ac49
cmp al, 0xff
je 0x48ac49
cmp ebx, esi
jne 0x48ac6d
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00414090
jmp 0x48ac9c
cmp ebx, esi
jne 0x48ac58
push 1
mov ecx, ebp
call fcn.00414090
jmp 0x48ac9c
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x48ac64
cmp eax, ebx
jae 0x48ac75
push 1
mov ecx, ebp
call fcn.00414090
push ebx
mov ecx, ebp
call fcn.00415060
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xf0]
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 + 0x8e]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x50f8e4
mov byte [esp + 0x310], 0x28
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
push 0x50f9a8
mov byte [esp + 0x320], 0x29
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xad]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x520010
mov byte [esp + 0x330], 0x2a
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x338], 0x2b
mov edi, esp
mov dword [esp + 0xac], esp
push ecx
mov ecx, esp
mov dword [esp + 0xb8], esp
push 6
push 0x50f9a0
call fcn.004be240
push edi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x348], 0x2c
mov edi, esp
mov dword [esp + 0xc4], esp
push ecx
mov ecx, esp
mov dword [esp + 0xc8], esp
push 6
push 0x50f9a0
call fcn.004be240
push edi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0x118]
mov byte [esp + 0x348], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov dx, word [eax]
mov ebx, dword [0x4f73d0]
lea edi, [eax + 4]
mov word [esp + 0x20], dx
mov byte [esp + 0x2e8], 0x2d
mov eax, dword [edi + 8]
mov ebp, eax
cmp ebx, ebp
jae 0x48ada9
mov ebp, ebx
lea ecx, [esp + 0x24]
cmp ecx, edi
jne 0x48ae1a
cmp dword [esp + 0x2c], ebp
jae 0x48adbc
call fcn.004de3d7
lea ecx, [esp + 0x24]
call fcn.00415170
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp eax, ebx
jae 0x48add1
mov ebx, eax
cmp ebx, esi
jbe 0x48ae0c
mov edx, dword [esp + 0x28]
sub eax, ebx
add ebp, edx
push eax
lea ecx, [ebx + ebp]
push ecx
push ebp
call fcn.004dea60
mov edi, dword [esp + 0x38]
add esp, 0xc
sub edi, ebx
lea ecx, [esp + 0x24]
push esi
push edi
call fcn.004144a0
test al, al
je 0x48ae0c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov byte [eax + edi], 0
lea ecx, [esp + 0x24]
call fcn.00415170
jmp 0x48af2f
cmp ebp, esi
jbe 0x48ae90
cmp ebp, eax
jne 0x48ae90
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x48ae2e
mov eax, 0x4f7480
cmp byte [eax - 1], 0xfe
jae 0x48ae90
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x48ae59
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ae50
cmp al, 0xff
je 0x48ae50
dec al
mov byte [ecx], al
jmp 0x48ae59
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x48ae71
mov eax, 0x4f7480
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x30], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x48af2f
lea ecx, [esp + 0x24]
call fcn.00415050
cmp eax, ebp
jae 0x48aea2
call fcn.004de1ab
mov edx, dword [esp + 0x28]
cmp edx, esi
je 0x48aeca
mov al, byte [edx - 1]
test al, al
je 0x48aeca
cmp al, 0xff
je 0x48aeca
cmp ebp, esi
jne 0x48aef3
dec al
push esi
lea ecx, [esp + 0x28]
mov byte [edx - 1], al
call fcn.00414090
jmp 0x48af2f
cmp ebp, esi
jne 0x48aedb
push 1
lea ecx, [esp + 0x28]
call fcn.00414090
jmp 0x48af2f
mov eax, dword [esp + 0x30]
cmp eax, 0x1f
ja 0x48aee8
cmp eax, ebp
jae 0x48af01
push 1
lea ecx, [esp + 0x28]
call fcn.00414090
push ebp
lea ecx, [esp + 0x28]
call fcn.00415060
mov edx, dword [esp + 0x28]
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x4f7480
je 0x48af0f
mov esi, edi
mov ecx, ebp
mov edi, edx
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 eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
xor esi, esi
mov byte [eax + ebp], 0
mov eax, dword [esp + 0xc0]
mov byte [esp + 0x2e8], 4
cmp eax, esi
je 0x48af5f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48af56
cmp al, 0xff
je 0x48af56
dec al
mov byte [ecx], al
jmp 0x48af5f
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
call fcn.004c48d0
cmp ax, 2
je 0x489f65
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x24]
call fcn.004ca4a0
mov edi, dword [eax + 4]
test edi, edi
jne 0x48afa4
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xe0]
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 + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp eax, esi
je 0x48aff2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48afe9
cmp al, 0xff
je 0x48afe9
dec al
mov byte [ecx], al
jmp 0x48aff2
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x84], esi
push ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.004dea48
add esp, 4
cmp al, 0xff
mov byte [esp + 0x40], al
jb 0x489f58
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x2e
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50fa14
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
jmp 0x48abd7
cmp word [esp + 0x34], bp
je 0x48b105
movsx cx, byte [0x51258c]
mov dl, byte [ebx + 0x2f]
mov al, byte [esp + 0x40]
push ecx
push 0x51258d
lea ecx, [esp + 0x24]
mov byte [0x51258e], dl
mov byte [0x512593], al
call fcn.004be740
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
test ax, ax
jg 0x48b105
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x27
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be2e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be2e0
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
je 0x48b3ed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48b3e4
cmp al, 0xff
je 0x48b3e4
dec al
mov byte [ecx], al
jmp 0x48b3ed
cmp word [esp + 0x34], bp
je 0x48b105
movsx ax, byte [0x51258c]
mov cl, byte [ebx + 0x2f]
mov dl, byte [esp + 0x40]
mov byte [0x51258e], cl
push eax
push 0x51258d
lea ecx, [esp + 0x24]
mov byte [0x512593], dl
call fcn.004be740
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
test ax, ax
jg 0x48b105
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x2f
mov ecx, esp
mov dword [esp + 0x60], esp
jmp 0x48b0e7
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x17
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be2e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be2e0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x48b33b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48b332
cmp al, 0xff
je 0x48b332
dec al
mov byte [ecx], al
jmp 0x48b33b
movsx dx, byte [0x51258c]
mov cl, byte [esp + 0x40]
mov al, byte [ebx + 0x2f]
mov byte [0x512593], cl
push edx
push 0x51258d
lea ecx, [esp + 0x24]
mov byte [0x51258e], al
call fcn.004be740
lea eax, [esp + 0x18]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004be1b0
mov ecx, ebx
call fcn.00480fe0
cmp ax, di
jg 0x48b2f4
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x1a
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be2e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be2e0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x48b33b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48b332
cmp al, 0xff
je 0x48b332
dec al
mov byte [ecx], al
jmp 0x48b33b
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x48b3f9
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x2f8], 0x26
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x2f8], 4
call fcn.004caf10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2e8], 3
call fcn.004be2e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2e8], 2
call fcn.004be2e0
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x48b3d6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48b3cd
cmp al, 0xff
je 0x48b3cd
dec al
mov byte [ecx], al
jmp 0x48b3d6
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
jmp 0x48b3f9
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e8], 0
call fcn.004be2e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2e8], 0xffffffff
call fcn.004be2e0
mov ecx, dword [esp + 0x2e0]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2dc
ret