Function at 0x100aa5f0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x188
mov eax, dword [0x101a8cb0]
xor eax, esp
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x19c]
cmp dword [eax + 0x4d4], 3
push edi
mov edi, dword [esp + 0x1a8]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x60], edx
jne 0x100ab438
cmp dword [eax + 0x4e0], 8
jne 0x100ab438
test ecx, ecx
je 0x100ab41d
test edi, edi
je 0x100ab41d
cmp dword [eax + 0x4d8], 0
mov ecx, dword [eax + 0x4ec]
mov edx, ecx
mov dword [esp + 0x2c], ecx
jne 0x100aa69b
lea edx, [edx + edx*2]
mov dword [esp + 0x2c], edx
push esi
mov esi, dword [eax + 0x4f0]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x100aa6b5
lea edx, [ecx*4]
mov dword [esp + 0x30], edx
cmp dword [esp + 0x1d4], 0
je 0x100aa6c9
add edx, 3
and edx, 0xfffffffc
mov dword [esp + 0x30], edx
push ebp
mov ebp, dword [eax + 0x4e8]
mov esi, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x64], esi
test ebp, ebp
je 0x100ab400
test esi, esi
je 0x100ab400
mov ax, word [esp + 0x1a0]
push ebx
mov dword [esp + 0x3c], 0
test ax, ax
jbe 0x100aa77f
movzx ecx, ax
cmp ecx, esi
mov dword [esp + 0x50], ecx
jge 0x100aa77f
mov ax, word [esp + 0x1a8]
test ax, ax
jbe 0x100aa77f
movzx eax, ax
cmp eax, ebp
mov dword [esp + 0x28], eax
jge 0x100aa77f
fild dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov esi, ecx
mov dword [esp + 0x3c], 1
fidiv dword [esp + 0x50]
mov dword [esp + 0x10], esi
fst qword [esp + 0x70]
fild dword [esp + 0x14]
fidiv dword [esp + 0x28]
fst qword [esp + 0x88]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x100aa76c
fstp st(0)
call fcn.1012b4f0
mov ebx, eax
inc ebx
mov dword [esp + 0x1c], ebx
jmp 0x100aa811
fstp st(1)
call fcn.1012b4f0
mov ebx, eax
inc ebx
mov dword [esp + 0x1c], ebx
jmp 0x100aa811
mov ecx, dword [esp + 0x1a0]
test ecx, ecx
jbe 0x100aa7c0
mov eax, esi
imul eax, ebp
xor edx, edx
div ecx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
test eax, eax
jge 0x100aa7a5
fadd qword [0x101470e8]
call fcn.10037bb0
fadd qword [0x101470e0]
call fcn.1012b4f0
mov ebx, eax
cmp ebx, 1
mov dword [esp + 0x1c], ebx
jge 0x100aa7c9
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov eax, ebx
imul eax, ebx
mov dword [esp + 0x50], eax
cmp ebx, 1
jne 0x100aa7e2
mov dword [esp + 0x1d4], 0
cmp dword [esp + 0x54], 0
je 0x100aa7f6
lea eax, [ebx*4]
mov dword [esp + 0x2c], eax
jmp 0x100aa7fd
lea ecx, [ebx + ebx*2]
mov dword [esp + 0x2c], ecx
mov eax, esi
cdq
idiv ebx
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, ebp
cdq
idiv ebx
mov dword [esp + 0x20], eax
mov ebp, ebx
imul ebp, dword [esp + 0x38]
cmp dword [esp + 0x1d8], 0
je 0x100aa82f
lea eax, [esi + esi*2 + 3]
and eax, 0xfffffffc
mov dword [esp + 0x4c], eax
jmp 0x100aa836
lea edx, [esi + esi*2]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x6c]
cmp dword [eax], 0
jne 0x100aa856
mov ecx, eax
push ecx
call fcn.10009b30
movzx eax, ax
add esp, 4
test ax, ax
jne 0x100aadb3
lea edx, [esp + 0x18]
push edx
call fcn.10009b30
movzx eax, ax
add esp, 4
test ax, ax
jne 0x100aadb3
mov eax, dword [esp + 0x18]
push ebp
push eax
call fcn.10009ed0
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
je 0x100aa919
cmp dword [esp + 0x1d4], 0
je 0x100aa92d
mov edx, dword [esp + 0x18]
lea ebp, [esi + esi]
push ebp
push edx
call fcn.10009ed0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call fcn.10009ed0
mov ecx, dword [esp + 0x28]
mov ebp, eax
lea eax, [esi + esi]
push eax
push ecx
mov dword [esp + 0x58], ebp
call fcn.10009ed0
add esp, 0x18
cmp dword [esp + 0x30], 0
mov dword [esp + 0x44], eax
je 0x100aa919
test ebp, ebp
je 0x100aa919
test eax, eax
je 0x100aa919
cmp dword [esp + 0x3c], 0
je 0x100aa9f7
mov edx, dword [esp + 0x18]
lea eax, [esi + esi]
push eax
push edx
call fcn.10009ed0
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
jne 0x100aa931
mov eax, dword [esp + 0x18]
push eax
call fcn.10009d90
add esp, 4
mov eax, 0x66
jmp 0x100aadb3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10009d90
mov eax, 0x66
jmp 0x100aadb0
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0
je 0x100aa9f7
mov eax, dword [esp + 0x18]
lea edx, [esi*4 + 4]
push edx
push eax
call fcn.10009ed0
mov ecx, dword [esp + 0x28]
lea edx, [ecx*4 + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.10009ed0
add esp, 0x10
cmp dword [esp + 0x34], 0
mov dword [esp + 0x5c], eax
je 0x100aa902
test eax, eax
je 0x100aa902
mov dword [esp + 0x24], 0
test esi, esi
jle 0x100aa9ab
fld qword [esp + 0x70]
fild dword [esp + 0x24]
fmul st(1)
call fcn.1012b4f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
mov dword [esp + 0x24], ecx
jl 0x100aa98a
fstp st(0)
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
mov dword [ecx + esi*4], eax
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jle 0x100aa9e8
fld qword [esp + 0x88]
fild dword [esp + 0x24]
fmul st(1)
call fcn.1012b4f0
mov edx, dword [esp + 0x5c]
mov dword [edx + esi*4], eax
inc esi
cmp esi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
jl 0x100aa9c9
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
mov esi, dword [esp + 0x4c]
imul esi, dword [esp + 0x20]
xor ecx, ecx
cmp dword [esp + 0x1d0], ecx
je 0x100aaa13
mov edx, dword [esp + 0x60]
cmp dword [edx], ecx
jne 0x100aaa49
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
lea eax, [esi + 0x4ac]
push eax
push edx
call fcn.10009ed0
mov ecx, dword [esp + 0x68]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x100aaa47
mov edx, dword [esp + 0x18]
push edx
call fcn.10009d90
mov eax, 0x66
jmp 0x100aadb0
xor ecx, ecx
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
lea eax, [esi + edx + 0x80]
mov dword [edi], eax
cmp eax, ecx
je 0x100aa902
mov dword [eax], 0x28
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov dword [edx + 4], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov edx, dword [edi]
mov eax, 1
mov word [edx + 0xc], ax
mov edx, dword [edi]
mov eax, 0x18
mov word [edx + 0xe], ax
mov edx, dword [edi]
mov dword [edx + 0x10], ecx
mov eax, dword [edi]
mov dword [eax + 0x14], esi
mov edx, dword [edi]
mov dword [edx + 0x18], ecx
mov eax, dword [edi]
mov dword [eax + 0x1c], ecx
mov edx, dword [edi]
mov dword [edx + 0x24], ecx
mov eax, dword [edi]
mov dword [eax + 0x20], ecx
xor eax, eax
mov edi, edi
mov edx, dword [edi]
mov byte [edx + eax*4 + 0x2a], al
mov edx, dword [edi]
mov byte [edx + eax*4 + 0x29], al
mov edx, dword [edi]
mov byte [edx + eax*4 + 0x28], al
mov edx, dword [edi]
mov byte [edx + eax*4 + 0x2b], 0
inc eax
cmp eax, 0x100
jl 0x100aaab0
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x1cc], ecx
je 0x100aaaf0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
dec eax
imul eax, edx
add eax, dword [esi]
neg edx
jmp 0x100aaaf6
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x48], eax
cmp dword [edx + 0x4d8], ecx
je 0x100aadcc
mov dword [esp + 0x2c], 2
lea esp, [esp]
xor ecx, ecx
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
jle 0x100aad8a
jmp 0x100aab44
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
test ebp, ebp
je 0x100aab5f
mov ebx, dword [eax + ecx*4 + 4]
sub ebx, dword [eax + ecx*4]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
mov esi, ebx
imul esi, dword [esp + 0x38]
push esi
push eax
push ecx
call fcn.1000b880
add esp, 0xc
cmp eax, esi
jne 0x100aada1
cmp dword [esp + 0x1d4], 0
je 0x100aacf7
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x64]
lea esi, [edi + edi]
push esi
push 0
push edx
mov dword [esp + 0x4c], ebp
call fcn.1002a420
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x100aac7a
mov eax, dword [esp + 0x58]
push esi
push 0
push eax
call fcn.1002a420
add esp, 0xc
test ebx, ebx
jle 0x100aac31
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
lea ecx, [ecx]
xor edi, edi
xor edx, edx
test esi, esi
jle 0x100aac26
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov edi, edi
mov esi, dword [ebx + edi*4 + 4]
sub esi, dword [ebx + edi*4]
test esi, esi
jle 0x100aac16
jmp 0x100aac00
movzx bx, byte [edx + ebp]
add word [ecx + eax], bx
inc word [eax]
inc edx
sub esi, 1
jne 0x100aac00
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
inc edi
add eax, 2
cmp edi, esi
jl 0x100aabf0
mov eax, dword [esp + 0x58]
add ebp, dword [esp + 0x38]
sub dword [esp + 0x40], 1
jne 0x100aabe0
cmp dword [esp + 0x10], 0
jle 0x100aad60
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x10]
lea esi, [edx + eax]
sub ebp, ecx
movzx edi, word [ecx + ebp]
test edi, edi
je 0x100aac67
movzx eax, word [ecx]
cdq
idiv edi
mov byte [esi], al
jmp 0x100aac6a
mov byte [esi], 0
add ecx, 2
add esi, 3
sub ebx, 1
jne 0x100aac55
jmp 0x100aad60
test ebx, ebx
jle 0x100aacc2
mov dword [esp + 0x44], ebx
test edi, edi
jle 0x100aacb3
mov eax, dword [esp + 0x30]
mov esi, ebp
lea esp, [esp]
mov ecx, esi
mov edx, ebx
movzx bp, byte [ecx]
add word [eax], bp
inc ecx
sub edx, 1
jne 0x100aac94
add eax, 2
add esi, ebx
sub edi, 1
jne 0x100aac90
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
add ebp, dword [esp + 0x38]
sub dword [esp + 0x44], 1
mov dword [esp + 0x40], ebp
jne 0x100aac82
xor ecx, ecx
test edi, edi
jle 0x100aad60
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
lea esi, [edx + eax]
movzx eax, word [edi + ecx*2]
cdq
idiv ebp
inc ecx
add esi, 3
cmp ecx, ebx
mov byte [esi - 3], al
jl 0x100aace3
jmp 0x100aad60
test ebp, ebp
je 0x100aad38
xor eax, eax
xor esi, esi
test edi, edi
jle 0x100aad60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
add ecx, edx
mov edx, dword [esp + 0x10]
lea esp, [esp]
mov bl, byte [esi + ebp]
mov byte [ecx], bl
mov ebx, dword [edi + eax*4 + 4]
sub ebx, dword [edi + eax*4]
inc eax
add esi, ebx
add ecx, 3
cmp eax, edx
jl 0x100aad20
jmp 0x100aad60
test edi, edi
jle 0x100aad60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x64]
mov dl, byte [eax]
mov byte [ecx], dl
add eax, edi
add ecx, 3
sub esi, 1
jne 0x100aad52
mov eax, dword [esp + 0x68]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x100aab40
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
dec ecx
cmp ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
jg 0x100aab20
jmp 0x100ab1eb
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10009d90
mov eax, 0xca
add esp, 4
pop ebx
pop ebp
pop esi
pop edi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.1002aab0
add esp, 0x188
ret
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
jle 0x100ab1eb
mov edi, edi
cmp dword [esp + 0x3c], 0
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x64]
je 0x100aae02
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + ecx*4 + 4]
sub eax, dword [edx + ecx*4]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
imul esi, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
push esi
push edi
push edx
call fcn.1000b880
add esp, 0xc
cmp eax, esi
jne 0x100ab17a
cmp dword [esp + 0x1dc], 0
je 0x100aae66
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x100ab15d
mov ecx, dword [esp + 0x14]
lea eax, [edi + 1]
mov edi, dword [esp + 0x2c]
inc ecx
movzx edx, byte [eax - 1]
mov byte [ecx - 1], dl
movzx edx, byte [eax]
mov byte [ecx], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 1], dl
add eax, edi
add ecx, 3
sub esi, 1
jne 0x100aae44
jmp 0x100ab15d
cmp dword [esp + 0x1d4], 0
je 0x100ab0e8
mov eax, dword [esp + 0x30]
mov esi, edi
mov edi, dword [esp + 0x10]
add edi, edi
push edi
push 0
push eax
call fcn.1002a420
push edi
push 0
push ebp
call fcn.1002a420
mov ecx, dword [esp + 0x5c]
push edi
push 0
push ecx
call fcn.1002a420
add esp, 0x24
cmp dword [esp + 0x3c], 0
je 0x100aaff4
mov edx, dword [esp + 0x58]
push edi
push 0
push edx
call fcn.1002a420
add esp, 0xc
cmp dword [esp + 0x1c], 0
jle 0x100aaf70
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
xor ebx, ebx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
mov dword [esp + 0x54], ebx
jle 0x100aaf61
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
sub edi, ebp
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x58]
sub edx, ebp
sub edi, ebp
mov eax, ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x70], edi
mov edi, dword [ebp + ebx*4 + 4]
sub edi, dword [ebp + ebx*4]
test edi, edi
jle 0x100aaf4f
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x88]
movzx ebx, byte [esi + ecx]
add word [edx + eax], bx
movzx ebx, byte [esi + ecx + 1]
add word [eax], bx
inc ecx
movzx ebx, byte [esi + ecx + 1]
add word [edi + eax], bx
inc word [eax + ebp]
inc ecx
inc ecx
sub dword [esp + 0x48], 1
jne 0x100aaf20
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
inc ebx
add eax, 2
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x54], ebx
jl 0x100aaf05
mov ebp, dword [esp + 0x40]
add esi, dword [esp + 0x38]
sub dword [esp + 0x28], 1
jne 0x100aaed0
cmp dword [esp + 0x10], 0
jle 0x100ab15d
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edi, ebp
sub eax, esi
sub edi, esi
sub edx, esi
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x28], edx
movzx ebx, word [eax + esi]
test ebx, ebx
je 0x100aafd9
movzx eax, word [esi]
cdq
idiv ebx
inc ecx
inc ecx
mov byte [ecx - 2], al
movzx eax, word [edi + esi]
cdq
idiv ebx
mov byte [ecx - 1], al
mov eax, dword [esp + 0x70]
movzx eax, word [eax + esi]
cdq
idiv ebx
mov byte [ecx], al
mov eax, dword [esp + 0x88]
jmp 0x100aafe4
mov byte [ecx], 0
inc ecx
mov byte [ecx], 0
inc ecx
mov byte [ecx], 0
inc ecx
add esi, 2
sub dword [esp + 0x28], 1
jne 0x100aafa6
jmp 0x100ab15d
cmp dword [esp + 0x1c], 0
jle 0x100ab086
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x10], 0
jle 0x100ab07b
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov ecx, esi
sub edx, ebp
mov dword [esp + 0x28], ecx
mov eax, ebp
sub edi, ebp
mov dword [esp + 0x54], ebx
lea ebx, [ebx]
mov ebx, dword [esp + 0x1c]
jmp 0x100ab040
movzx bp, byte [ecx]
add word [eax + edx], bp
movzx bp, byte [ecx + 1]
add word [eax], bp
inc ecx
movzx bp, byte [ecx + 1]
add word [eax + edi], bp
inc ecx
inc ecx
sub ebx, 1
jne 0x100ab040
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x2c]
add eax, 2
sub dword [esp + 0x54], 1
mov dword [esp + 0x28], ecx
jne 0x100ab030
mov ebp, dword [esp + 0x40]
add esi, dword [esp + 0x38]
sub dword [esp + 0x48], 1
jne 0x100ab007
cmp dword [esp + 0x10], 0
jle 0x100ab15d
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
sub edi, ebp
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], edx
movzx eax, word [esi + edi]
cdq
idiv ebx
inc ecx
inc ecx
inc ecx
add esi, 2
mov byte [ecx - 3], al
movzx eax, word [esi - 2]
cdq
idiv ebx
mov byte [ecx - 2], al
mov eax, dword [esp + 0x70]
movzx eax, word [esi + eax - 2]
cdq
idiv ebx
sub dword [esp + 0x28], 1
mov byte [ecx - 1], al
jne 0x100ab0b3
jmp 0x100ab15d
cmp dword [esp + 0x3c], 0
je 0x100ab12c
xor ecx, ecx
xor esi, esi
cmp dword [esp + 0x10], ecx
jle 0x100ab15d
mov eax, dword [esp + 0x14]
lea ecx, [ecx]
movzx edx, byte [edi + ecx + 2]
mov byte [eax], dl
movzx edx, byte [edi + ecx + 1]
inc eax
mov byte [eax], dl
movzx edx, byte [ecx + edi]
inc eax
mov byte [eax], dl
mov edx, dword [ebx + esi*4 + 4]
sub edx, dword [ebx + esi*4]
inc esi
add ecx, edx
inc eax
cmp esi, dword [esp + 0x10]
lea ecx, [ecx + edx*2]
jl 0x100ab100
jmp 0x100ab15d
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x100ab15d
mov ecx, dword [esp + 0x14]
lea eax, [edi + 1]
mov edi, dword [esp + 0x2c]
inc ecx
movzx edx, byte [eax + 1]
mov byte [ecx - 1], dl
movzx edx, byte [eax]
mov byte [ecx], dl
movzx edx, byte [eax - 1]
mov byte [ecx + 1], dl
add eax, edi
add ecx, 3
sub esi, 1
jne 0x100ab140
mov eax, dword [esp + 0x68]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x100aade0
jmp 0x100ab1e4
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ecx, 0xfffffffe
cmp esi, ecx
jge 0x100ab1a6
fild dword [esp + 0x20]
fmul qword [str.ffffff]
call fcn.1012b4f0
cmp esi, eax
jge 0x100ab1a6
mov edx, dword [esp + 0x18]
push edx
jmp 0x100aada6
mov eax, dword [esp + 0x7c]
add eax, 0xa
push eax
lea ecx, [esp + 0x98]
push str.Image_pixel_data_too_short___s_
push ecx
call fcn.10003cf0
push 0x112e
push 0x101470a8
lea edx, [esp + 0xa8]
push edx
push 0xca
push 0x40003
call fcn.10002bc0
add esp, 0x20
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x78]
push eax
call fcn.10009d90
add esp, 4
cmp dword [esp + 0x84], 0
je 0x100ab3f9
test esi, esi
je 0x100ab3f9
mov ax, word [esp + 0x1b8]
test ax, ax
jne 0x100ab229
mov eax, 1
jmp 0x100aadb3
mov ecx, dword [edi]
movzx edi, ax
mov eax, dword [ecx + 4]
cdq
idiv edi
mov ecx, eax
cmp ecx, 1
jge 0x100ab240
mov ecx, 1
mov eax, dword [esp + 0x20]
lea edx, [ecx + ecx*2]
mov dword [esp + 0x2c], edx
cdq
idiv ecx
mov ebx, eax
mov eax, dword [esp + 0x10]
cdq
idiv ecx
mov ebp, eax
mov eax, dword [esp + 0x4c]
imul eax, ecx
cmp dword [esp + 0x1d8], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x70], eax
je 0x100ab27b
lea edi, [ebp + ebp*2 + 3]
and edi, 0xfffffffc
jmp 0x100ab27f
lea edi, [ebp + ebp*2]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push 0x42c
push ecx
mov dword [esp + 0x54], edi
call fcn.10009ed0
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x100aa90f
mov eax, dword [esp + 0x6c]
imul edi, ebx
mov ecx, dword [eax]
lea edx, [edi + 0x80]
push edx
push ecx
call fcn.10009ed0
mov edx, dword [esp + 0x8c]
add esp, 8
mov dword [edx], eax
test eax, eax
je 0x100aa90f
mov eax, dword [esi]
mov dword [eax], 0x28
mov ecx, dword [esi]
mov dword [ecx + 4], ebp
mov edx, dword [esi]
mov dword [edx + 8], ebx
mov eax, dword [esi]
mov ecx, 1
mov word [eax + 0xc], cx
mov edx, dword [esi]
xor ecx, ecx
mov eax, 0x18
mov word [edx + 0xe], ax
mov edx, dword [esi]
mov dword [edx + 0x10], ecx
mov eax, dword [esi]
mov dword [eax + 0x14], edi
mov edx, dword [esi]
mov dword [edx + 0x18], ecx
mov eax, dword [esi]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi]
mov dword [edx + 0x24], ecx
mov eax, dword [esi]
mov dword [eax + 0x20], ecx
xor eax, eax
mov edx, dword [esi]
mov byte [edx + eax*4 + 0x2a], al
mov edx, dword [esi]
mov byte [edx + eax*4 + 0x29], al
mov edx, dword [esi]
mov byte [edx + eax*4 + 0x28], al
mov edx, dword [esi]
mov byte [edx + eax*4 + 0x2b], cl
inc eax
cmp eax, 0x100
jl 0x100ab315
cmp ebx, ecx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x60]
mov eax, dword [eax]
mov edx, dword [edx]
jle 0x100ab3a0
mov edi, dword [esp + 0x10]
lea ebp, [edx + 1]
mov edx, dword [esp + 0x2c]
lea esi, [eax + 1]
mov dword [esp + 0x50], ebx
lea ebx, [ebx]
test edi, edi
jle 0x100ab391
mov ecx, esi
mov eax, ebp
jmp 0x100ab370
movzx ebx, byte [eax - 1]
mov byte [ecx - 1], bl
movzx ebx, byte [eax]
mov byte [ecx], bl
movzx ebx, byte [eax + 1]
mov byte [ecx + 1], bl
add eax, edx
add ecx, 3
sub edi, 1
jne 0x100ab370
mov edi, dword [esp + 0x10]
add esi, dword [esp + 0x4c]
add ebp, dword [esp + 0x70]
sub dword [esp + 0x50], 1
jne 0x100ab360
mov ecx, dword [esp + 0x90]
fld qword [0x101470a0]
fstp qword [ecx + 0x40c]
mov eax, 0xff
fld qword [0x10147098]
xor edx, edx
mov dword [ecx + 0x408], eax
fstp qword [ecx + 0x414]
mov dword [ecx + 0x430], eax
mov dword [ecx + 0x404], edx
mov dword [ecx + 0x42c], edx
xor eax, eax
add ecx, 0x204
mov edx, eax
shl edx, 4
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, 0x100
jl 0x100ab3e6
xor eax, eax
jmp 0x100aadb3
pop ebp
pop esi
mov eax, 2
pop edi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.1002aab0
add esp, 0x188
ret
mov eax, 1
pop edi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.1002aab0
add esp, 0x188
ret
mov ecx, dword [esp + 0x188]
pop edi
xor ecx, esp
mov eax, 2
call fcn.1002aab0
add esp, 0x188
ret