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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff78
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xc], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x10], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x14], ecx
mov eax, dword [esp]
mov edx, dword [eax + 0x34]
mov dword [esp + 0x18], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x3c]
mov edx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp]
mov cl, byte [eax + 2]
shl edx, cl
dec edx
mov dword [esp + 0x24], edx
xor edx, edx
mov eax, dword [esp]
mov dl, byte [eax]
mov eax, pe_nt_image_headers32
mov dword [esp + 0x28], edx
mov edx, pe_nt_image_headers32
mov ecx, dword [esp]
mov cl, byte [ecx + 1]
shl eax, cl
mov ecx, dword [esp + 0x28]
shr edx, cl
sub eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x34], ecx
mov eax, dword [esp]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x38], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x3c], eax
xor eax, eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x48], ecx
mov eax, dword [esp]
mov esi, dword [eax + 0x20]
mov eax, dword [esp]
mov edi, dword [eax + 0x24]
mov eax, dword [esp + 0x3c]
and eax, dword [esp + 0x24]
shl eax, 4
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
add edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0xfffffe00
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f8d6c
mov eax, dword [esp + 0x48]
xor ecx, ecx
shl edi, 8
shl esi, 8
mov cl, byte [eax]
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9616
mov esi, ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
mov ecx, dword [esp + 0xc]
add ecx, 0x280
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x3c], 0
jne 0x5f8dae
cmp dword [esp + 0x40], 0
je 0x5f8de4
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x28]
jne 0x5f8dbf
mov eax, dword [esp + 0x34]
jmp 0x5f8dc3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + eax - 1]
mov edx, dword [esp + 0x3c]
shl edx, 8
add eax, edx
and eax, dword [esp + 0x2c]
shl eax, cl
lea ecx, [eax + eax*2]
add ecx, ecx
add dword [esp + 0x4c], ecx
inc dword [esp + 0x3c]
cmp dword [esp + 0x10], 7
jae 0x5f9126
cmp dword [esp + 0x10], 4
jae 0x5f8e00
mov eax, dword [esp + 0x10]
jmp 0x5f8e05
mov eax, 3
sub dword [esp + 0x10], eax
mov eax, 1
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f8e31
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f8e58
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f8e70
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f8e93
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f8eba
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f8ed2
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f8ef5
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f8f1c
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f8f34
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f8f57
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f8f7e
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f8f96
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f8fb9
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f8fe0
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f8ff8
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f901b
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9042
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f905a
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f907d
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f90a4
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f90bc
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f90df
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9109
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9602
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
jmp 0x5f9602
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
cmp eax, dword [esp + 0x14]
jae 0x5f913e
mov ecx, dword [esp + 0x34]
jmp 0x5f9140
xor ecx, ecx
add edx, ecx
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + edx]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], pe_nt_image_headers32
cmp dword [esp + 0x10], 0xa
jae 0x5f9164
mov eax, 3
jmp 0x5f9169
mov eax, 6
sub dword [esp + 0x10], eax
mov eax, 1
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x54]
and dword [esp + 0x58], edx
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x5c]
add ecx, eax
add ecx, ecx
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x60]
movzx edx, word [edx]
cmp esi, 0x1000000
jae 0x5f91c0
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f91ee
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f9205
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f9253
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9281
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f9298
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f92e6
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9314
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f932b
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f9379
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f93a7
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f93be
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f940c
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f943a
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f9451
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f949f
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f94cd
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f94e4
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f9532
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9560
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
mov word [edx], cx
add eax, eax
mov edx, dword [esp + 0x5c]
xor dword [esp + 0x58], edx
jmp 0x5f9577
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x54]
add dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x54]
and dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x5c]
add edx, eax
add edx, edx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
movzx edx, word [ecx]
cmp esi, 0x1000000
jae 0x5f95c5
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f95eb
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov edx, dword [esp + 0x60]
add eax, eax
mov word [edx], cx
jmp 0x5f9602
sub esi, ecx
sub edi, ecx
mov ecx, edx
lea eax, [eax + eax + 1]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x60]
mov word [ecx], dx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov byte [edx + ecx], al
inc dword [esp + 0x38]
jmp 0x5fa3c4
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
sub dx, ax
mov eax, dword [esp + 0x4c]
mov word [eax], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x20
cmp esi, 0x1000000
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx]
jae 0x5f965d
mov eax, dword [esp + 0x48]
xor ecx, ecx
shl edi, 8
shl esi, 8
mov cl, byte [eax]
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9697
mov esi, ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
add dword [esp + 0x10], 0xc
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffa00
mov dword [esp + 0x4c], ecx
jmp 0x5f9913
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
sub dx, ax
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x38
cmp esi, 0x1000000
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
movzx edx, word [eax]
jae 0x5f96de
mov ecx, dword [esp + 0x48]
xor eax, eax
shl edi, 8
shl esi, 8
mov al, byte [ecx]
or edi, eax
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f97cb
mov esi, ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x10]
add ecx, ecx
add ecx, dword [esp + 0xc]
add ecx, 0xfffff400
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
movzx edx, word [eax]
cmp esi, 0x1000000
jae 0x5f973f
mov ecx, dword [esp + 0x48]
xor eax, eax
shl edi, 8
shl esi, 8
mov al, byte [ecx]
or edi, eax
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f97b3
mov eax, 0x800
mov esi, ecx
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x38]
sub ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x14]
jae 0x5f9779
mov edx, dword [esp + 0x34]
jmp 0x5f977b
xor edx, edx
add ecx, edx
mov eax, dword [esp + 0x30]
mov cl, byte [eax + ecx]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov byte [eax + edx], cl
inc dword [esp + 0x38]
inc dword [esp + 0x3c]
cmp dword [esp + 0x10], 7
jae 0x5f97a5
mov ecx, 9
jmp 0x5f97aa
mov ecx, 0xb
mov dword [esp + 0x10], ecx
jmp 0x5fa3c4
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
sub dx, ax
mov eax, dword [esp + 0x4c]
mov word [eax], dx
jmp 0x5f98ef
sub esi, ecx
sub edi, ecx
mov ecx, edx
mov eax, dword [esp + 0x4c]
shr ecx, 5
sub dx, cx
mov word [eax], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x50
cmp esi, 0x1000000
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx]
jae 0x5f9812
mov eax, dword [esp + 0x48]
xor ecx, ecx
shl edi, 8
shl esi, 8
mov cl, byte [eax]
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9841
mov esi, ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
jmp 0x5f98df
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
sub dx, ax
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x10]
add edx, edx
add edx, dword [esp + 0xc]
add edx, 0x68
cmp esi, 0x1000000
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
movzx edx, word [eax]
jae 0x5f9888
mov ecx, dword [esp + 0x48]
xor eax, eax
shl edi, 8
shl esi, 8
mov al, byte [ecx]
or edi, eax
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f98b4
mov esi, ecx
mov eax, 0x800
sub eax, edx
shr eax, 5
add ax, dx
mov edx, dword [esp + 0x4c]
mov word [edx], ax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
jmp 0x5f98d7
mov eax, edx
sub esi, ecx
shr eax, 5
sub edi, ecx
sub dx, ax
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], 7
jae 0x5f98fd
mov edx, 8
jmp 0x5f9902
mov edx, 0xb
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xc]
add eax, 0xfffff600
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
movzx edx, word [eax]
cmp esi, 0x1000000
jae 0x5f9935
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9ac6
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov word [eax], cx
mov eax, dword [esp + 0x50]
add eax, eax
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], 1
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f998c
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f99b9
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x5f99da
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f99fd
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9a2a
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x5f9a4b
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f9a6e
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9a9b
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], eax
jmp 0x5f9abc
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
sub dword [esp + 0x44], 8
jmp 0x5f9d34
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov word [eax], dx
mov eax, dword [esp + 0x4c]
add eax, 0x10
movzx edx, word [eax]
cmp esi, 0x1000000
jae 0x5f9afa
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9c8c
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
shr ecx, 5
add cx, dx
mov word [eax], cx
mov eax, dword [esp + 0x50]
add eax, eax
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], 1
add eax, 0x10
mov edx, dword [esp + 0x44]
cmp esi, 0x1000000
movzx edx, word [eax + edx*2]
jae 0x5f9b54
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9b81
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x5f9ba2
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f9bc5
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9bf2
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x5f9c13
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f9c36
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9c66
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], eax
jmp 0x5f9d34
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
jmp 0x5f9d34
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov word [eax], dx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], 1
add eax, 0x200
mov edx, dword [esp + 0x44]
movzx edx, word [eax + edx*2]
cmp esi, 0x1000000
jae 0x5f9ccf
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9cfc
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x44]
shr ebx, 5
add bx, dx
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x44]
add dword [esp + 0x44], edx
jmp 0x5f9d1d
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
cmp dword [esp + 0x44], 0x100
jb 0x5f9cac
sub dword [esp + 0x44], 0x100
add dword [esp + 0x44], 0x10
cmp dword [esp + 0x10], 0xc
jb 0x5fa30d
cmp dword [esp + 0x44], 4
jae 0x5f9d4c
mov eax, dword [esp + 0x44]
jmp 0x5f9d51
mov eax, 3
shl eax, 6
add eax, eax
add eax, dword [esp + 0xc]
add eax, 0x80
mov dword [esp + 0x4c], eax
mov eax, 1
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9d8b
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9db2
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9dca
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9ded
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9e14
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9e2c
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9e4f
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9e76
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9e8e
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9eb1
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9ed8
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9ef0
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9f13
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9f3a
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9f52
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5f9f75
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5f9f9c
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, eax
jmp 0x5f9fb4
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
lea eax, [eax + eax + 1]
sub eax, 0x40
cmp eax, 4
jb 0x5fa2b5
mov edx, eax
mov dword [esp + 0x68], eax
shr edx, 1
and eax, 1
dec edx
or eax, 2
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x68], 0xe
jae 0x5fa07e
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xc]
shl eax, cl
add edx, 0xfffff300
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], 1
inc eax
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + eax*2]
cmp esi, 0x1000000
jae 0x5fa01e
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5fa04f
mov ebx, 0x800
mov esi, ecx
sub ebx, edx
mov ecx, dword [esp + 0x4c]
shr ebx, 5
add bx, dx
mov word [ecx + eax*2], bx
add eax, dword [esp + 0x70]
mov edx, dword [esp + 0x70]
add dword [esp + 0x70], edx
jmp 0x5fa06f
sub esi, ecx
sub edi, ecx
mov ecx, edx
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x70]
add dword [esp + 0x70], edx
add eax, dword [esp + 0x70]
dec dword [esp + 0x6c]
jne 0x5f9ffb
sub eax, dword [esp + 0x70]
jmp 0x5fa2b5
sub dword [esp + 0x6c], 4
cmp esi, 0x1000000
jae 0x5fa09f
mov edx, dword [esp + 0x48]
xor ecx, ecx
shl edi, 8
shl esi, 8
mov cl, byte [edx]
or edi, ecx
inc dword [esp + 0x48]
shr esi, 1
sub edi, esi
xor ecx, ecx
mov edx, edi
add eax, eax
shr edx, 0x1f
sub ecx, edx
mov dword [esp + 0x74], ecx
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x74]
and edx, esi
inc eax
add edi, edx
dec dword [esp + 0x6c]
jne 0x5fa083
mov ecx, dword [esp + 0xc]
shl eax, 4
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x78], 1
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, word [edx + ecx*2]
cmp esi, 0x1000000
jae 0x5fa0ff
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5fa12c
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x78]
add bp, dx
mov word [ecx + ebx*2], bp
inc dword [esp + 0x78]
jmp 0x5fa149
sub esi, ecx
sub edi, ecx
mov ecx, edx
mov ebx, dword [esp + 0x78]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
add dword [esp + 0x78], 2
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, word [edx + ecx*2]
cmp esi, 0x1000000
jae 0x5fa170
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5fa19e
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x78]
add bp, dx
mov word [ecx + ebx*2], bp
add dword [esp + 0x78], 2
jmp 0x5fa1bb
sub esi, ecx
sub edi, ecx
mov ecx, edx
mov ebx, dword [esp + 0x78]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
add dword [esp + 0x78], 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, word [edx + ecx*2]
cmp esi, 0x1000000
jae 0x5fa1e2
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5fa210
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x78]
add bp, dx
mov word [ecx + ebx*2], bp
add dword [esp + 0x78], 4
jmp 0x5fa22d
sub esi, ecx
sub edi, ecx
mov ecx, edx
mov ebx, dword [esp + 0x78]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
add dword [esp + 0x78], 8
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, word [edx + ecx*2]
cmp esi, 0x1000000
jae 0x5fa254
mov ecx, dword [esp + 0x48]
shl edi, 8
movzx ecx, byte [ecx]
shl esi, 8
or edi, ecx
inc dword [esp + 0x48]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp ecx, edi
jbe 0x5fa282
mov ebp, 0x800
mov esi, ecx
sub ebp, edx
mov ecx, dword [esp + 0x4c]
shr ebp, 5
mov ebx, dword [esp + 0x78]
add bp, dx
mov word [ecx + ebx*2], bp
sub dword [esp + 0x78], 8
jmp 0x5fa29a
sub esi, ecx
sub edi, ecx
mov ecx, edx
mov ebx, dword [esp + 0x78]
shr ecx, 5
sub dx, cx
mov ecx, dword [esp + 0x4c]
mov word [ecx + ebx*2], dx
or eax, dword [esp + 0x78]
cmp eax, 0xffffffff
jne 0x5fa2b5
mov dword [esp + 0x44], 0x112
sub dword [esp + 0x10], 0xc
jmp 0x5fa3dc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 1]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x10], 0x13
jae 0x5fa2e2
mov edx, 7
jmp 0x5fa2e7
mov edx, 0xa
mov dword [esp + 0x10], edx
cmp dword [esp + 0x40], 0
jne 0x5fa2f8
mov ecx, dword [esp + 0x3c]
jmp 0x5fa2fc
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jb 0x5fa30d
add dword [esp + 0x44], 0x202
jmp 0x5fa3dc
add dword [esp + 0x44], 2
mov eax, dword [esp + 4]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x7c], eax
test eax, eax
je 0x5fa3dc
mov edx, dword [esp + 0x7c]
cmp edx, dword [esp + 0x44]
jae 0x5fa336
mov eax, dword [esp + 0x7c]
jmp 0x5fa33a
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x14]
jae 0x5fa352
mov ecx, dword [esp + 0x34]
jmp 0x5fa354
xor ecx, ecx
add edx, ecx
add dword [esp + 0x3c], eax
sub dword [esp + 0x44], eax
mov ecx, dword [esp + 0x34]
sub ecx, edx
cmp eax, ecx
ja 0x5fa3a2
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x38]
mov dword [esp + 0x80], edx
mov edx, eax
add edx, ecx
mov dword [esp + 0x84], edx
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov al, byte [ecx + eax]
mov byte [ecx], al
inc ecx
cmp ecx, dword [esp + 0x84]
jne 0x5fa38a
jmp 0x5fa3c4
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov cl, byte [ecx + edx]
inc edx
mov byte [ebx + ebp], cl
inc dword [esp + 0x38]
cmp edx, dword [esp + 0x34]
jne 0x5fa3c1
xor edx, edx
dec eax
jne 0x5fa3a2
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 4]
jae 0x5fa3dc
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 8]
jb 0x5f8d22
cmp esi, 0x1000000
jae 0x5fa3f8
mov eax, dword [esp + 0x48]
xor edx, edx
shl edi, 8
shl esi, 8
mov dl, byte [eax]
or edi, edx
inc dword [esp + 0x48]
mov ecx, dword [esp]
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x1c], eax
mov edx, dword [esp]
mov dword [edx + 0x20], esi
mov ecx, dword [esp]
mov dword [ecx + 0x24], edi
mov eax, dword [esp]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x44], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x18], eax
mov edx, dword [esp]
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x28], ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x30], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x34], eax
mov edx, dword [esp]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x38], ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x3c], edx
mov ecx, dword [esp]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x40], eax
cmp dword [esp + 0x44], 0x200
jb 0x5fa46f
mov eax, 1
jmp 0x5fa471
xor eax, eax
add esp, 0x88
pop ebp
pop edi
pop esi
pop ebx
ret