Function at 0x1005d95e
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x1e
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0xffff
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x184]
mov edi, ebx
lea ecx, [edx + edi]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x1005d854
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0x10]
mov word [esi + 0xbc], cx
mov dword [esi + 0x280], 0
mov dword [esi + 0x288], 0
test bx, bx
je 0x1005d88f
lea ecx, [edi + edi*4]
mov eax, 0xcccccccd
add ecx, ecx
mov edi, 0x32
cmp ecx, edi
cmovb ecx, edi
mul edx
shr edx, 3
cmp edx, edi
cmovb edx, edi
add ecx, edx
jmp 0x1005d898
imul ecx, edx, 0x16
add ecx, 0x12c
mov dword [esi + 0x284], ecx
mov eax, dword [esi]
imul eax, dword [eax + 0x10], 0x64
cmp ecx, eax
jbe 0x1005d8b0
mov dword [esi + 0x284], eax
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x1005b2e0
movzx ebx, word [esi + 0xdc]
mov edx, 0x10060ce0
mov dword [esi + 0x28c], ecx
cmp bx, ax
mov ecx, 0x1005b2c0
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov dword [ebp - 0x14], 0x1005b1b0
mov ecx, 0x10060cb0
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x10059a20
mov ecx, 0x1005b1e0
cmove ecx, dword [ebp - 0x14]
cmp bx, word [ebp - 0xc]
mov dword [ebp - 0x14], 0x10059a10
cmove eax, dword [ebp - 0x14]
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edx
mov dword [esi + 0x274], ecx
mov eax, dword [esi + 0x168]
push esi
mov dword [esi + 0x164], eax
call fcn.100597f0
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x1005d94b
jmp dword [eax*4 + 0x10060020]
mov dword [esi + 0x250], fcn.1005b370
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b4b0
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b540
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b330
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b4f0
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b470
jmp case.default.0x1005d94b
mov dword [esi + 0x250], 0x1005b3a0
jmp case.default.0x1005d94b
mov dword [esi + 0x250], fcn.1005b400
lea edx, [esi + 0xc]
mov word [esi + 0x27c], 0
mov dword [ebp - 8], edx
nop
mov eax, dword [esi + 0x16c]
mov edi, dword [esi + 0x170]
add eax, edi
mov dword [ebp - 0x14], eax
mov bl, byte [eax]
movzx eax, bl
mov byte [esi + 0x178], bl
mov dword [ebp - 0xc], eax
movsx ecx, byte [eax + 0x100d6940]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x1005da19
lea eax, [edi + 1]
cmp eax, dword [esi + 0x174]
jge 0x1006000c
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0xc]
movzx eax, byte [eax + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x17c], ecx
lea eax, [edi + ecx]
cmp eax, dword [esi + 0x174]
jg 0x1006000c
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x10]
mov bh, byte [eax + 0x100d6840]
movzx eax, bh
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x1005da86
cmp byte [esi + 0x249], 0
jne 0x1005ff89
xor edx, edx
test bh, 0xf0
jbe 0x1005da7d
mov eax, dword [esi + 0x18]
movzx ecx, dx
inc edx
mov dword [eax + ecx*4], 0
mov bl, byte [esi + 0x178]
movzx eax, bl
mov al, byte [eax + 0x100d6840]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x1005da55
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp bl, 0x91
jne 0x1005daa0
mov eax, dword [esi]
mov eax, dword [eax + 0x2e4]
test eax, eax
je 0x1005da9b
mov eax, dword [eax]
jmp 0x1005daad
mov eax, dword [esi + 0x20]
jmp 0x1005dab2
movzx eax, bl
movzx eax, byte [eax + 0x100d6840]
and eax, 0xf
add eax, ecx
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x14]
cmp eax, edx
jg 0x1005fff9
mov eax, dword [esi + 0x18]
mov byte [esi + 0x180], 1
mov dword [esi + 0xc], 0
movzx esi, bl
mov dword [ebp - 0x30], eax
lea edi, [eax + ecx*4]
mov dword [ebp - 0xc], esi
cmp esi, 0x92
ja case.default.0x1005dae6
jmp dword [esi*4 + 0x10060040]
mov esi, dword [ebp + 8]
mov al, bl
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx eax, ax
cmp bl, 4
jae 0x1005db29
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test bl, 2
jne 0x1005dc5c
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.100597f0
jmp 0x1005fe99
mov esi, dword [ebp + 8]
movzx eax, word [edi]
lea ebx, [esi + 0x12a]
push ebx
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.1005aff0
add esp, 0x10
test al, al
jne case.0x1005dae6.33
mov eax, dword [ebx]
push esi
mov dword [esi + 0x126], eax
call fcn.100597f0
jmp 0x1005fe99
mov esi, dword [ebp + 8]
lea eax, [esi + 0x12e]
push eax
movzx eax, word [edi]
push eax
movzx eax, word [edi + 4]
push eax
push esi
call fcn.1005aff0
add esp, 0x10
test al, al
jne case.0x1005dae6.33
push esi
call fcn.100597f0
jmp 0x1005fe99
movsx ecx, word [edi]
movsx eax, word [edi + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x1005dbc3
test eax, eax
je 0x1005dbfb
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], ecx
call fcn.1004bd40
mov eax, dword [ebp - 0x48]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x44]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12c], ax
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x126], eax
call fcn.100597f0
jmp 0x1005fe99
movsx ecx, word [edi]
movsx eax, word [edi + 4]
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x1005dc24
test eax, eax
je 0x1005dc5c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ecx
call fcn.1004bd40
mov eax, dword [ebp - 0x50]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.100597f0
jmp 0x1005fe99
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12a]
mov dword [edi], eax
movsx eax, word [esi + 0x12c]
mov dword [edi + 4], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movsx eax, word [esi + 0x12e]
mov dword [edi], eax
movsx eax, word [esi + 0x130]
mov dword [edi + 4], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push esi
mov eax, dword [esi + 0x12a]
mov dword [esi + 0x12e], eax
call fcn.100597f0
jmp 0x1005fe99
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.1005a250
add esp, 8
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x120], ax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x122], ax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x124], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x1005dd41
sub eax, 1
je 0x1005dd27
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1005dd59
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov ax, word [edi]
mov word [esi + 0x15c], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x1005ddb1
sub eax, 1
je 0x1005dd97
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1005ddc9
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
mov ax, word [edi]
mov word [esi + 0x15e], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x1005de21
sub eax, 1
je 0x1005de07
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1005de39
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
mov ax, word [edi]
mov word [esi + 0x160], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x1005de94
sub eax, 1
je 0x1005de7a
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1005deac
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
movzx eax, word [edi]
mov word [esi + 0x15c], ax
movzx eax, word [edi]
mov word [esi + 0x15e], ax
movzx eax, word [edi]
mov word [esi + 0x160], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
test eax, eax
jns 0x1005df14
mov dword [esi + 0xc], 0x84
jmp case.0x1005dae6.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x10]
mov dword [esi + 0x134], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 1
mov dword [esi + 0x250], 0x1005b4b0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x250], 0x1005b4f0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x138], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov edi, 1
push esi
call fcn.1005b770
add esp, 4
cmp al, 1
je case.0x1005dae6.33
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x1005df9d
sub eax, 1
jne 0x1005df9e
dec edi
jmp 0x1005df9e
inc edi
test edi, edi
jne 0x1005df78
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov edx, dword [edi]
test edx, edx
jne 0x1005dfb8
test ecx, ecx
je 0x1005df08
add edx, dword [esi + 0x170]
mov dword [esi + 0x170], edx
js 0x1005df08
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x1005dfe9
mov eax, dword [esi + 0x1c4]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x1005df08
mov byte [esi + 0x180], 0
cmp dword [edi], 0
jge case.0x1005dae6.33
inc dword [esi + 0x288]
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x1005dae6.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x144], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi + 0x148], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14c], eax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov dword [edi + 4], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x20], 0
jmp case.0x1005dae6.33
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov dword [edi], eax
jmp case.0x1005dae6.33
mov edx, dword [edi]
mov esi, dword [ebp + 8]
test edx, edx
jle 0x1005e0cd
cmp edx, ecx
jg 0x1005e0cd
sub ecx, edx
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x1005dae6.33
cmp byte [esi + 0x249], 0
je 0x1005e0dd
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x1005dae6.33
mov edx, dword [edi]
mov esi, dword [ebp + 8]
test edx, edx
jle 0x1005dd0e
cmp edx, ecx
jg 0x1005dd0e
sub ecx, edx
mov edi, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.100aa9f0
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
movzx ebx, word [edi + 4]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x50]
jae 0x1005dd0e
cmp bx, word [esi + 0x2c]
jae 0x1005dd0e
movzx ecx, ax
mov eax, dword [esi + 0x58]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
mov ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
cdq
sub eax, edx
mov edi, eax
lea eax, [esi + 0x48]
sar edi, 1
push edi
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x2c
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
cmp ax, word [esi + 0x2c]
jb 0x1005e1c4
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
cmp word [esi + 0x12e], 0
mov ecx, eax
mov edx, dword [esi + 0x3c]
sete bl
add edx, ecx
lea ebx, [ebx*8 + 0xf7]
mov al, bl
and al, 0xef
cmp word [esi + 0x130], 0
movzx ecx, al
movzx eax, bl
cmove ecx, eax
and byte [edx], cl
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x1b4]
inc eax
mov dword [ebp - 0x14], eax
cmp edx, eax
jae 0x1005dd1b
mov ebx, dword [esi + 0x1a4]
test ebx, ebx
je 0x1005e223
lea eax, [edx + edx*4]
lea ecx, [ebx + eax*4]
jmp 0x1005e225
xor ecx, ecx
mov eax, dword [esi + 0x19c]
cmp dword [ebp - 0x14], eax
jne 0x1005e235
cmp dword [ecx + 0xc], edx
je 0x1005e264
mov ecx, ebx
test ecx, ecx
je 0x1005dd1b
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x1005e25e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x1005e25c
add ecx, 0x14
cmp ecx, eax
jb 0x1005e250
cmp ecx, eax
je 0x1005dd1b
cmp byte [ecx + 0x10], 0
je 0x1005dd1b
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x1005e288
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
cmp dword [edi], 0
jle case.0x1005dae6.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 4], eax
mov eax, dword [edi]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10059eb0
mov byte [esi + 0x180], 0
add esp, 0xc
mov eax, dword [edi]
add dword [esi + 0x280], eax
mov eax, dword [esi + 0x280]
cmp eax, dword [esi + 0x284]
jbe case.0x1005dae6.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov edx, dword [edi]
mov ebx, dword [esi + 0x1b4]
inc ebx
cmp edx, ebx
jae 0x1005dd1b
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x1005dd1b
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
mov eax, dword [esi + 0x19c]
cmp ebx, eax
jne 0x1005e32c
cmp dword [ecx + 0xc], edx
je 0x1005e34c
mov ecx, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x1005e346
cmp dword [ecx + 0xc], edx
je 0x1005e344
add ecx, 0x14
cmp ecx, eax
jb 0x1005e338
cmp ecx, eax
je 0x1005dd1b
cmp byte [ecx + 0x10], 0
je 0x1005dd1b
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x1005e370
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10059eb0
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x1005e3cd
mov dword [esi + 0xc], 0x9c
jmp case.0x1005dae6.33
mov ebx, dword [esi + 0x1a4]
test ebx, ebx
je 0x1005e3e5
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
jmp 0x1005e3e7
xor eax, eax
mov ecx, dword [edi]
cmp ebx, eax
jae 0x1005e3fe
nop dword [eax]
cmp dword [ebx + 0xc], ecx
je 0x1005e3fc
add ebx, 0x14
cmp ebx, eax
jb 0x1005e3f0
cmp ebx, eax
jne 0x1005e415
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x1005e41d
inc eax
mov dword [esi + 0x19c], eax
cmp ecx, 0xffff
jbe 0x1005e429
mov dword [esi + 0xc], 0x8c
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
movzx edx, cx
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x170]
inc eax
mov byte [ebx + 0x10], 1
mov dword [ebx + 4], eax
cmp ecx, dword [esi + 0x1b4]
jbe 0x1005e453
mov dword [esi + 0x1b4], edx
push esi
call fcn.1005b770
add esp, 4
test al, al
jne case.0x1005dae6.33
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x1005e49a
sub eax, 1
je 0x1005e48c
sub eax, 0x5c
je 0x1005e49a
push esi
call fcn.1005b770
add esp, 4
test al, al
je 0x1005e464
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x170]
mov dword [ebx + 8], eax
jmp case.0x1005dae6.33
mov dword [esi + 0xc], 0x89
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jg 0x1005e4bf
mov dword [esi + 0xc], 0x88
jmp case.0x1005dae6.33
dec ecx
mov dword [esi + 0x1bc], ecx
shl ecx, 4
add ecx, dword [esi + 0x1c4]
dec dword [ecx + 8]
mov byte [esi + 0x180], 0
cmp dword [ecx + 8], 0
jle 0x1005e4f6
inc dword [esi + 0x1bc]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x1005dae6.33
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10059eb0
add esp, 0xc
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx edi, word [edi]
cmp di, word [esi + 0x2c]
jb 0x1005e52e
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
test bl, 1
je 0x1005e573
mov eax, dword [esi + 0x34]
mov ecx, edi
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov ebx, eax
mov eax, dword [esi + 0x250]
push 3
push ebx
push esi
cmp eax, fcn.1005b400
jne 0x1005e56a
call fcn.1005b400
add esp, 0xc
sub eax, ebx
jmp 0x1005e575
call eax
add esp, 0xc
sub eax, ebx
jmp 0x1005e575
xor eax, eax
push eax
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], di
mov word [esi + 0x122], di
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push esi
call fcn.1005a490
jmp 0x1005fe99
mov esi, dword [ebp + 8]
push esi
call fcn.1005aca0
jmp 0x1005fe99
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.1005ab10
add esp, 8
jmp case.0x1005dae6.33
cmp dword [edi], 2
mov esi, dword [ebp + 8]
jb 0x1005e5e9
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.10059930
add esp, 0x14
test al, al
jne case.0x1005dae6.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x1005e61c
movzx ebx, word [esi + 0x74]
jmp 0x1005e641
cmp eax, 1
jne 0x1005e63f
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x1005e63f
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x1005e641
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x1005dae6.33
xor edx, edx
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x64], ecx
jne 0x1005e65e
cmp word [ebp - 4], di
je 0x1005e6bc
cmp word [esi + 0x12e], 0
je 0x1005e685
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005e67c
cmp byte [esi + 0x27b], 0
jne 0x1005e682
mov eax, dword [ebp - 0x20]
add dword [ecx + edx], eax
mov ecx, dword [esi + 0x7c]
cmp word [esi + 0x130], 0
je 0x1005e6bc
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005e6b5
cmp byte [esi + 0x27b], 0
je 0x1005e6b5
cmp byte [esi + 0x27c], 0
je 0x1005e6b5
cmp byte [esi + 0x27d], 0
jne 0x1005e6bc
mov eax, dword [ebp - 0x24]
add dword [edx + ecx + 4], eax
inc edi
add edx, 8
cmp di, bx
jb 0x1005e650
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.1005add0
add esp, 8
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push esi
call fcn.10059f30
jmp 0x1005fe99
mov esi, dword [ebp + 8]
movzx ebx, word [edi]
mov ecx, ebx
cmp bx, word [esi + 0x50]
jae 0x1005dd0e
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1005dd0e
cmp word [esi + 0x15e], 0
mov dword [ebp - 0xc], ecx
jne 0x1005e768
mov edx, eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x54]
mov esi, ebx
mov dword [eax + esi*8], ecx
mov ecx, ebx
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
push dword [edi + 4]
lea eax, [esi + 0x48]
push ebx
push eax
mov eax, dword [esi + 0x264]
push esi
call eax
mov eax, dword [esi + 0x54]
mov edx, ebx
add esp, 0x10
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x58]
mov esi, ebx
mov dword [eax + esi*8], ecx
mov ecx, ebx
mov esi, dword [ebp + 8]
mov dword [eax + ecx*8 + 4], edx
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp - 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [edi + 4]
sub ecx, eax
lea eax, [esi + 0x48]
push ecx
push ebx
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
mov ax, word [esi + 0x120]
add esp, 0x1c
test byte [esi + 0x178], 1
mov word [esi + 0x122], ax
mov word [esi + 0x124], bx
je case.0x1005dae6.33
mov word [esi + 0x120], bx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x134]
cmp dword [esi + 0x10], ecx
jl 0x1005e871
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1005e871
test ecx, ecx
jle 0x1005e881
nop
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edi, word [eax + ecx*4]
cmp di, word [esi + 0x50]
jb 0x1005e822
cmp byte [esi + 0x249], 0
jne 0x1005dd1b
jmp 0x1005e860
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1005e800
jmp 0x1005e881
cmp byte [esi + 0x249], 0
je 0x1005e881
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 2
mov dword [esi + 0x250], 0x1005b470
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xc], eax
movzx ebx, ax
cmp ax, word [esi + 0x2c]
jae 0x1005e9c2
cmp ecx, dword [esi + 0x184]
jae 0x1005e9c2
mov eax, dword [esi + 0x26c]
cmp eax, 0x1005b2c0
jne 0x1005e8ef
mov eax, dword [esi + 0x188]
mov edi, dword [eax + ecx*4]
jmp 0x1005e8f8
push ecx
push esi
call eax
add esp, 8
mov edi, eax
cmp word [esi + 0x15c], 0
jne 0x1005e942
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.1005cfa0
mov ecx, dword [esi + 0x30]
mov dword [ecx + ebx*8], eax
movsx eax, word [esi + 0x130]
push eax
push edi
call fcn.1005cfa0
mov ecx, dword [esi + 0x30]
add esp, 0x10
mov dword [ecx + ebx*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + ebx*8]
mov edx, dword [eax + ebx*8 + 4]
mov eax, dword [esi + 0x34]
mov dword [eax + ebx*8], ecx
mov dword [eax + ebx*8 + 4], edx
mov eax, dword [esi + 0x34]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov ebx, eax
test byte [esi + 0x178], 1
je 0x1005e996
mov eax, dword [esi + 0x250]
mov ecx, edi
mov edx, ebx
sub edx, edi
sub ecx, ebx
push 3
cmovns edx, ecx
cmp edx, dword [esi + 0x144]
cmovg edi, ebx
push edi
push esi
cmp eax, fcn.1005b400
jne 0x1005e98f
call fcn.1005b400
jmp 0x1005e991
call eax
mov edi, eax
add esp, 0xc
sub edi, ebx
lea eax, [esi + 0x24]
push edi
push dword [ebp - 0xc]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov word [esi + 0x120], ax
mov word [esi + 0x122], ax
jmp case.0x1005dae6.33
cmp byte [esi + 0x249], 0
je 0x1005e9d2
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], ax
mov word [esi + 0x122], ax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
sub edx, dword [esi + 0x10]
inc edx
movzx eax, byte [ecx + eax + 1]
movzx ecx, ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
cmp ecx, edx
jb 0x1005ea16
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
mov ebx, 1
mov edx, ebx
cmp dx, ax
ja 0x1005ea54
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x16c]
movzx edx, bx
inc ebx
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov dword [edi + edx*4 - 4], eax
cmp bx, word [ebp - 0x14]
jbe 0x1005ea30
mov ecx, dword [ebp - 0xc]
add dword [esi + 0x20], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub edx, dword [esi + 0x10]
inc edx
mov bl, byte [ecx + eax + 1]
movzx eax, bl
mov dword [ebp - 0xc], eax
cmp eax, edx
jb 0x1005ea89
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test bl, bl
je 0x1005ead8
mov ebx, dword [ebp - 0xc]
nop dword [eax]
add dword [esi + 0x170], 2
lea edi, [edi + 4]
mov edx, dword [esi + 0x16c]
mov eax, pe_nt_image_headers32
add edx, dword [esi + 0x170]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
movsx eax, cx
mov dword [edi - 4], eax
sub ebx, 1
jne 0x1005eaa0
mov eax, dword [ebp - 0xc]
add dword [esi + 0x20], eax
mov byte [esi + 0x180], 0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
movzx ecx, word [esi + 0x1e4]
cmp ebx, ecx
jb 0x1005eb13
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
cmp dword [esi + 0x164], 3
jne 0x1005eb86
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x1e8], eax
je 0x1005eb86
lea edx, [ebp - 0x28]
push edx
push eax
movzx eax, word [esi + 0x1ec]
push ecx
push eax
push 4
push dword [esi + 8]
call fcn.1004d580
mov ecx, dword [ebp - 0x28]
add esp, 0x18
mov dword [esi + 0x1f0], eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne case.0x1005dae6.33
movzx ecx, word [esi + 0x1e4]
mov word [esi + 0x1ec], cx
shl ecx, 2
push ecx
push dword [esi + 0x1e8]
push eax
call fcn.100aa9f0
mov eax, dword [esi + 0x1f0]
add esp, 0xc
mov dword [esi + 0x1e8], eax
mov ecx, dword [esi + 0x1e8]
mov eax, dword [edi + 4]
mov dword [ecx + ebx*4], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, word [esi + 0x1e4]
cmp ecx, eax
jb 0x1005ebc7
cmp byte [esi + 0x249], 0
je 0x1005ebbc
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
mov dword [edi], 0
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x1005ebfd
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x270]
mov edi, dword [edi + 4]
cmp eax, 0x10060cb0
jne 0x1005ec2e
push esi
call fcn.1005b130
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x1005dae6.33
mov eax, dword [esi + 0x188]
mov dword [eax + ebx*4], edi
jmp case.0x1005dae6.33
push edi
push ebx
push esi
call eax
add esp, 0xc
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x184]
jb 0x1005ec61
cmp byte [esi + 0x249], 0
je 0x1005ebbc
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x26c]
cmp eax, 0x1005b2c0
jne 0x1005ec7e
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
jmp case.0x1005dae6.33
push ecx
push esi
call eax
add esp, 8
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, word [esi + 0x74]
cmp ecx, eax
jb 0x1005ecb2
cmp byte [esi + 0x249], 0
je 0x1005eca9
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [edi], eax
jmp case.0x1005dae6.33
test bl, 1
je 0x1005ecd4
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x258]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
mov dword [ebp - 0x14], eax
cmp ax, word [esi + 0x74]
jb 0x1005ed19
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
movzx ebx, ax
mov eax, dword [esi + 0x7c]
shl ebx, 3
push dword [ebx + eax + 4]
push dword [ebx + eax]
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [edi + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x1005dae6.33
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebx + eax]
mov edx, dword [ebx + eax + 4]
mov eax, dword [esi + 0x78]
mov dword [ebx + eax], ecx
mov dword [ebx + eax + 4], edx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx eax, word [edi]
movzx edx, word [edi + 4]
cmp ax, word [esi + 0x2c]
jae 0x1005e0cd
cmp dx, word [esi + 0x50]
jae 0x1005e0cd
test bl, 1
je 0x1005edc5
mov eax, dword [esi + 0x58]
mov ecx, edx
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
movzx ecx, word [edi]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
cmp word [esi + 0x15c], 0
je 0x1005eed1
cmp word [esi + 0x15e], 0
je 0x1005eed1
mov ecx, eax
mov eax, dword [esi + 0x38]
lea ebx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x30], ecx
cmp eax, dword [esi + 0xe4]
jne 0x1005ee53
mov eax, dword [ebx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [ebx]
sub eax, dword [ecx]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
mov dword [ebp - 0x14], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
jmp case.0x1005dae6.33
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
sub eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
sub eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
mov eax, dword [esi + 0x258]
push dword [ebp - 0x38]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov ecx, eax
mov eax, dword [esi + 0x30]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x54]
movzx ecx, word [edi + 4]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [edx]
sub eax, dword [ecx]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x10059a10
jne 0x1005ef20
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x1005dae6.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x1005ef63
mov eax, dword [esi + 0x268]
cmp eax, 0x10059a10
jne 0x1005ef56
movzx eax, word [esi + 0x100]
mov dword [edi], eax
jmp case.0x1005dae6.33
push esi
call eax
add esp, 4
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [esi + 0xd8]
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 1
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov byte [esi + 0x140], 0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], 0x87
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setl cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setle cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setg cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setge cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
sete cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi]
xor ecx, ecx
cmp eax, dword [edi + 4]
setne cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x1005b470
jne 0x1005f065
mov edx, dword [esi + 0x118]
test eax, eax
js 0x1005f042
add edx, 0x10
add eax, edx
mov edx, 0
and eax, 0xffffffe0
cmovge edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
sub edx, eax
xor eax, eax
add edx, 0x10
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
push 3
push eax
push esi
call ecx
mov edx, eax
xor ecx, ecx
and dl, 0x7f
add esp, 0xc
cmp dl, 0x40
sete cl
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x1005b470
jne 0x1005f0df
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x1005f0c1
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, 0
test cl, 0x7f
sete al
mov dword [edi], eax
jmp case.0x1005dae6.33
sub ecx, eax
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
test cl, 0x7f
sete al
mov dword [edi], eax
jmp case.0x1005dae6.33
push 3
push eax
push esi
call ecx
mov ecx, eax
add esp, 0xc
test cl, 0x7f
mov eax, 0
sete al
mov dword [edi], eax
jmp case.0x1005dae6.33
cmp dword [edi], 0
mov esi, dword [ebp + 8]
jne case.0x1005dae6.33
mov edi, 1
xor bl, bl
nop
push esi
call fcn.1005b770
add esp, 4
cmp al, 1
je case.0x1005dae6.33
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x1005f13f
sub eax, 0x3d
je 0x1005f13c
sub eax, 1
jne 0x1005f145
sub edi, 1
jmp 0x1005f142
inc edi
jmp 0x1005f145
cmp edi, 1
sete bl
test bl, bl
je 0x1005f110
jmp case.0x1005dae6.33
cmp dword [edi], 0
je 0x1005e0dd
cmp dword [edi + 4], 0
je 0x1005e0dd
mov eax, 1
mov dword [edi], eax
jmp case.0x1005dae6.33
cmp dword [edi], 0
jne 0x1005f181
cmp dword [edi + 4], 0
jne 0x1005f181
xor eax, eax
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, 1
mov dword [edi], eax
jmp case.0x1005dae6.33
xor eax, eax
cmp dword [edi], eax
sete al
mov dword [edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x10059a10
jne 0x1005f1b7
movzx edx, word [esi + 0x100]
mov dword [ebp - 0x14], edx
jmp 0x1005f1c2
push esi
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1005f2f3
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1005f2dc
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x1005f2ae
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1005f225
sub eax, 1
jne 0x1005f228
add ecx, 0x20
jmp 0x1005f228
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x1005f2be
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
cmp edi, 8
sbb edx, edx
mov eax, dword [eax + 0x60]
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp dword [eax + 0x40], 0x28
jne 0x1005f29a
cmp byte [esi + 0x27b], 0
je 0x1005f29a
cmp byte [esi + 0x27c], 0
je 0x1005f27c
cmp byte [esi + 0x27d], 0
jne 0x1005f2be
cmp byte [esi + 0x248], 0
je 0x1005f28f
cmp word [esi + 0x130], 0
jne 0x1005f29a
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1005f2be
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
jmp 0x1005f2be
cmp byte [esi + 0x249], 0
je 0x1005f2be
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x30]
jbe 0x1005f1e0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
cmp byte [esi + 0x249], 0
je 0x1005f2ec
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ax, word [edi]
mov word [esi + 0x150], ax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, 6
jbe 0x1005f326
mov dword [esi + 0xc], 0x84
jmp case.0x1005dae6.33
mov word [esi + 0x152], ax
jmp case.0x1005dae6.33
mov eax, dword [edi + 4]
add dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi + 4]
sub dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1005f35c
mov dword [esi + 0xc], 0x85
jmp case.0x1005dae6.33
push eax
push 0x40
push dword [edi]
call fcn.10049220
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
push 0x40
push dword [edi + 4]
push dword [edi]
call fcn.10049140
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi]
test eax, eax
jns case.0x1005dae6.33
neg eax
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi]
neg eax
mov dword [edi], eax
jmp case.0x1005dae6.33
and dword [edi], 0xffffffc0
jmp case.0x1005dae6.33
mov eax, dword [edi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [edi]
push eax
push ecx
mov edx, dword [esi + 0x250]
push esi
cmp edx, fcn.1005b400
jne 0x1005f3e6
call fcn.1005b400
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
call edx
add esp, 0xc
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
and eax, 3
mov ecx, dword [edi]
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x1005f418
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [edi], ecx
jmp case.0x1005dae6.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
cmp ebx, dword [esi + 0x184]
jb 0x1005f44e
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [esi + 0x188]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + ebx*4], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.10059d50
add esp, 8
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x268]
cmp eax, 0x10059a10
jne 0x1005f4bf
movzx ecx, word [esi + 0x100]
mov dword [ebp - 0x14], ecx
jmp 0x1005f4c8
push esi
call eax
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1005f2f3
nop dword [eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1005f2dc
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov edx, dword [eax + ecx*4]
cmp ebx, dword [esi + 0x184]
jb 0x1005f516
cmp byte [esi + 0x249], 0
jne 0x1005dd1b
jmp 0x1005f591
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x1005f534
sub eax, 1
jne 0x1005f537
add ecx, 0x20
jmp 0x1005f537
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 0x14], eax
jne 0x1005f591
movzx eax, word [esi + 0x152]
and edx, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x274]
cmp edx, 8
sbb edi, edi
add edi, 0xfffffff9
add edi, edx
shl edi, cl
cmp eax, 0x1005b1b0
jne 0x1005f589
push esi
call fcn.1005b130
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x1005f591
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x1005f591
push edi
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x30]
jbe 0x1005f4e0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
push dword [edi]
mov esi, dword [ebp + 8]
push 0x4000
push esi
call fcn.1005b580
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x250], 0x1005b3a0
jmp case.0x1005dae6.33
push dword [edi]
mov esi, dword [ebp + 8]
push 0x2d41
push esi
call fcn.1005b580
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x250], fcn.1005b400
jmp case.0x1005dae6.33
cmp dword [edi + 4], 0
mov esi, dword [ebp + 8]
je case.0x1005dae6.33
jmp 0x1005dfaa
cmp dword [edi + 4], 0
mov esi, dword [ebp + 8]
jne case.0x1005dae6.33
jmp 0x1005dfaa
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 5
mov dword [esi + 0x250], fcn.1005b370
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 4
mov dword [esi + 0x250], 0x1005b540
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov dword [esi + 0x13c], 3
mov dword [esi + 0x250], 0x1005b330
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005f6a7
cmp byte [esi + 0x27b], 0
je 0x1005f6a7
cmp byte [esi + 0x27c], 0
je 0x1005f6a7
cmp byte [esi + 0x27d], 0
mov eax, ecx
jne 0x1005f723
mov edx, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edx
jge 0x1005f6d6
cmp byte [esi + 0x249], 0
je 0x1005f723
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
test edx, edx
jle 0x1005f723
mov edx, dword [ebp - 0x30]
nop dword [eax]
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x1005f702
cmp byte [esi + 0x249], 0
jne 0x1005dd1b
jmp 0x1005f712
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
dec dword [esi + 0x134]
mov ecx, eax
cmp dword [esi + 0x134], 0
jg 0x1005f6e0
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005f762
cmp byte [esi + 0x27b], 0
je 0x1005f762
cmp byte [esi + 0x27c], 0
je 0x1005f762
cmp byte [esi + 0x27d], 0
jne case.0x1005dae6.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x1005dd0e
cmp ax, cx
jae 0x1005dd0e
mov edx, eax
cmp ax, bx
ja case.0x1005dae6.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, bx
jbe 0x1005f790
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005f7d5
cmp byte [esi + 0x27b], 0
je 0x1005f7d5
cmp byte [esi + 0x27c], 0
je 0x1005f7d5
cmp byte [esi + 0x27d], 0
jne case.0x1005dae6.33
movzx ebx, word [edi + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [edi]
cmp bx, cx
jae 0x1005dd0e
cmp ax, cx
jae 0x1005dd0e
mov edx, eax
cmp ax, bx
ja case.0x1005dae6.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, bx
jbe 0x1005f800
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
movzx ecx, al
cmp ecx, 0xff
jne 0x1005f834
mov byte [esi + 0x155], 1
jmp case.0x1005dae6.33
test al, al
je 0x1005f8d0
test eax, 0x100
je 0x1005f855
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x1005f855
mov byte [esi + 0x155], 1
test dword [edi], 0x200
je 0x1005f86d
cmp byte [esi + 0x11d], 0
je 0x1005f86d
mov byte [esi + 0x155], 1
test dword [edi], 0x400
je 0x1005f885
cmp byte [esi + 0x11e], 0
je 0x1005f885
mov byte [esi + 0x155], 1
test dword [edi], 0x800
je 0x1005f89f
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x1005f89f
mov byte [esi + 0x155], 0
test dword [edi], 0x1000
je 0x1005f8b7
cmp byte [esi + 0x11d], 0
je 0x1005f8b7
mov byte [esi + 0x155], 0
test dword [edi], 0x2000
je case.0x1005dae6.33
cmp byte [esi + 0x11e], 0
je case.0x1005dae6.33
mov byte [esi + 0x155], 0
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
movzx ecx, word [edi]
movzx eax, word [edi + 4]
cmp cx, word [esi + 0x50]
jae 0x1005dd0e
cmp ax, word [esi + 0x74]
jae 0x1005dd0e
mov edx, ecx
mov ecx, dword [esi + 0x54]
shl edx, 3
add ecx, edx
mov dword [ebp - 0xc], edx
mov edx, eax
mov eax, dword [esi + 0x78]
shl edx, 3
add eax, edx
mov dword [ebp - 0x40], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edi, ecx
mov dword [ebp - 0x14], ecx
sub edx, dword [eax]
mov eax, dword [eax + 4]
sub edi, eax
mov dword [ebp - 0x30], eax
test edx, edx
jne 0x1005f937
test edi, edi
jne 0x1005f937
mov edx, 0x4000
xor bl, bl
lea eax, [esi + 0x126]
test bl, 1
push eax
mov eax, dword [ebp - 0x30]
cmovne edi, edx
sub eax, dword [ebp - 0x14]
mov cl, bl
test cl, 1
push edi
cmove eax, edx
push eax
call fcn.1005b220
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x40]
mov edi, dword [ecx]
sub edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x40], eax
test edi, edi
jne 0x1005f988
test ecx, ecx
jne 0x1005f988
mov edi, 0x4000
xor bl, bl
and bl, 1
lea eax, [esi + 0x12a]
push eax
cmovne ecx, edi
sub edx, dword [ebp - 0x40]
test bl, bl
push ecx
cmove edx, edi
push edx
call fcn.1005b220
push esi
call fcn.100597f0
add esp, 0x10
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [edi]
mov edx, dword [esi]
test bl, 1
je 0x1005f9c6
mov eax, dword [edx + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edx
test bl, 2
je 0x1005f9dc
cmp byte [esi + 0x11d], 0
je 0x1005f9dc
or ecx, 0x100
test bl, 4
je 0x1005f9f0
cmp byte [esi + 0x11e], 0
je 0x1005f9f0
or ecx, 0x200
test bl, 8
je 0x1005fa06
cmp dword [eax + 0x2e4], 0
mov edx, eax
je 0x1005fa06
or ecx, 0x400
test bl, 0x20
je 0x1005fa1a
cmp byte [esi + 0x278], 0
je 0x1005fa1a
or ecx, 0x1000
mov eax, dword [edx + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1005fa96
cmp byte [esi + 0x279], 0
je 0x1005fa96
mov edx, ecx
or edx, 0x2000
test bl, 0x40
cmove edx, ecx
mov ecx, edx
mov dword [ebp - 0xc], ecx
test ebx, 0x100
je 0x1005fa5c
cmp byte [esi + 0x27a], 0
mov dword [ebp - 0xc], ecx
je 0x1005fa5c
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
or ecx, 0x20000
test ebx, 0x400
cmove ecx, dword [ebp - 0xc]
mov edx, ecx
or edx, 0x40000
test ebx, 0x800
cmove edx, ecx
mov ecx, edx
test ebx, 0x1000
je 0x1005fa96
cmp byte [esi + 0x27e], 0
je 0x1005fa96
or ecx, 0x80000
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
cmp dword [esi + 0x164], 3
jne 0x1005fab5
mov dword [esi + 0xc], 0x9c
jmp case.0x1005dae6.33
mov ebx, dword [esi + 0x1b0]
test ebx, ebx
je 0x1005fae1
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
cmp ebx, eax
jae 0x1005fadf
mov ecx, dword [edi]
cmp dword [ebx + 0xc], ecx
je 0x1005fadd
add ebx, 0x14
cmp ebx, eax
jb 0x1005fad1
cmp ebx, eax
jne 0x1005fafa
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1ac]
jae 0x1005fb84
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [edi]
cmp eax, 0xff
ja 0x1005fb84
movzx eax, al
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
mov byte [ebx + 0x10], 1
mov eax, dword [edi]
cmp eax, dword [esi + 0x1b8]
jbe 0x1005fb36
movzx eax, al
mov dword [esi + 0x1b8], eax
push esi
call fcn.1005b770
add esp, 4
test al, al
jne case.0x1005dae6.33
nop word [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x1005e49a
sub eax, 1
je 0x1005e48c
sub eax, 0x5c
je 0x1005e49a
push esi
call fcn.1005b770
add esp, 4
test al, al
je 0x1005fb50
jmp case.0x1005dae6.33
mov dword [esi + 0xc], 0x8d
jmp case.0x1005dae6.33
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [edi], ecx
jmp case.0x1005dae6.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jle case.0x1005dae6.33
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jge case.0x1005dae6.33
mov dword [edi], eax
jmp case.0x1005dae6.33
mov eax, dword [edi]
mov esi, dword [ebp + 8]
test eax, eax
js case.0x1005dae6.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x1005dae6.33
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov esi, dword [ebp + 8]
lea eax, [ebx - 1]
cmp eax, 2
ja 0x1005dd0e
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x1005fc23
cmp edx, eax
je 0x1005fc23
cmp byte [esi + 0x249], 0
je case.0x1005dae6.33
mov dword [esi + 0xc], 0x86
jmp case.0x1005dae6.33
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x1005fc43
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x1005dae6.33
cmp ecx, 3
jne 0x1005fc6c
cmp ebx, ecx
jne 0x1005fc6c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x1005dae6.33
cmp edx, 4
setne al
mov byte [esi + 0x27b], al
jmp case.0x1005dae6.33
cmp byte [esi + 0x249], 0
jne 0x1005dd1b
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e4]
test ecx, ecx
je 0x1005fe93
sub edx, dword [esi + 0x10]
mov ebx, dword [ecx]
inc edx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x14], ecx
cmp ebx, edx
jb 0x1005fcad
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
test ecx, ecx
je 0x1005fd67
xor edx, edx
test ebx, ebx
je case.0x1005dae6.33
cmp ebx, 0x10
jb 0x1005fd3f
lea eax, [ebx - 1]
lea eax, [ecx + eax*4]
cmp edi, eax
ja 0x1005fcdc
lea eax, [ebx - 1]
lea eax, [edi + eax*4]
cmp eax, ecx
jae 0x1005fd3f
mov esi, dword [ebp - 0x14]
mov eax, ebx
and eax, 0xfffffff0
add ecx, 0x30
mov dword [ebp - 0x30], eax
sub esi, edi
mov eax, 2
mov dword [ebp - 0x40], esi
movd xmm1, eax
lea eax, [edi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x30]
add edx, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
psrad xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edx, dword [ebp - 0x30]
jb 0x1005fd00
cmp edx, ebx
jae case.0x1005dae6.33
mov esi, dword [ebp - 0x14]
lea ecx, [edi + edx*4]
sub esi, edi
sub ebx, edx
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
sar eax, 2
mov dword [ecx - 4], eax
sub ebx, 1
jne 0x1005fd51
jmp case.0x1005dae6.33
test ebx, ebx
je case.0x1005dae6.33
mov ecx, ebx
xor eax, eax
rep stosd dword es:[edi], eax
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x1005fe93
mov dword [edi], 0x11
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
cmp bl, 0xe0
jb 0x1005fdae
push edi
push esi
call fcn.1005a8d0
add esp, 8
jmp case.0x1005dae6.33
cmp bl, 0xc0
jb 0x1005fdc2
push edi
push esi
call fcn.1005a670
add esp, 8
jmp case.0x1005dae6.33
cmp bl, 0xb8
jb 0x1005fe41
sub edx, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, bl
inc edx
sub ax, cx
movzx eax, ax
mov ebx, eax
cmp ebx, edx
jb 0x1005fdef
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
inc dword [esi + 0x170]
xor ecx, ecx
cmp cx, ax
jae 0x1005fe38
nop dword [eax]
add dword [esi + 0x170], 2
lea edi, [edi + 4]
mov edx, dword [esi + 0x16c]
mov eax, pe_nt_image_headers32
add edx, dword [esi + 0x170]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
movsx eax, cx
mov dword [edi - 4], eax
sub ebx, 1
jne 0x1005fe00
mov byte [esi + 0x180], 0
jmp case.0x1005dae6.33
cmp bl, 0xb0
jb case.0x1005dae6.40
sub edx, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, bl
inc edx
sub ax, cx
movzx ebx, ax
cmp ebx, edx
jb 0x1005fe65
mov dword [esi + 0xc], 0x82
jmp case.0x1005dae6.33
mov edx, 1
mov eax, edx
cmp ax, bx
ja case.0x1005dae6.33
mov eax, dword [esi + 0x170]
add eax, dword [esi + 0x16c]
movzx ecx, dx
inc edx
movzx eax, byte [eax + ecx]
mov dword [edi + ecx*4 - 4], eax
cmp dx, bx
jbe 0x1005fe71
jmp case.0x1005dae6.33
mov esi, dword [ebp + 8]
push esi
call fcn.1005b080
add esp, 4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1005ff3d
cmp eax, 0x80
jne 0x10060012
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x1005fecd
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
jmp 0x1005fed0
xor edx, edx
nop
cmp ecx, edx
jae 0x1005ffae
cmp byte [ecx + 0x10], 0
je 0x1005fee9
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x1005feee
add ecx, 0x14
jmp 0x1005fed0
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jge 0x1005ff9b
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10059eb0
add esp, 0xc
cmp al, 1
je 0x10060012
jmp 0x1005ff6a
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x1005ff58
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0xf4240
ja 0x1005ffe6
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x1005ffc1
cmp byte [esi + 0x200], 0
jne 0x1005ffdd
lea edx, [esi + 0xc]
jmp 0x1005d9c0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0x81
mov eax, dword [eax]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x86
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x80
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1bc], 0
jle 0x1005ffdd
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x83
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x8b
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 0xc], 0x82
pop esi
mov eax, dword [eax]
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edx], 0x83
mov eax, dword [ebp - 8]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret