Function at 0x10008f10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a57bc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, 1
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x160], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008f80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100039d0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.1000e690
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10003970
lea ecx, [ebp - 0x40]
call fcn.1000d780
mov ecx, dword [ebp - 0x160]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
lea edx, [ecx + 2]
mov word [ebp - 0x88], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008ff0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x160]
lea ecx, [ebp - 0x88]
call fcn.100039d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x124]
call fcn.1000e690
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.10003970
lea ecx, [ebp - 0x124]
call fcn.1000d780
mov ecx, esi
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009067
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.100039d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.10070340
mov esi, eax
mov dword [ebp - 0x15c], esi
cmp esi, dword [ebp + 0x1c]
je 0x1000929c
push 0x35
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.imagecompressSrc_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100039d0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0xf4]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10003970
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xf4]
push eax
call fcn.10003b10
lea ecx, [ebp - 0xf4]
call fcn.1000e1f0
test al, al
je 0x10009129
lea ecx, [ebp - 0xf4]
call fcn.10011980
cmp dword [0x100dca8c], 0
je 0x100095f8
lea ecx, [ebp - 0x168]
call fcn.100a2540
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0x58]
push esi
push dword [ebp + 0x14]
cmovae ecx, dword [ebp - 0xf4]
cmp dword [ebp - 0x44], 8
mov esi, dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x58]
push esi
push ecx
push eax
call dword [0x100dca8c]
mov edi, eax
add esp, 0x14
cmp edi, 1
jne 0x10009245
push str.imagecompressSrcPng_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
lea ecx, [ebp - 0xa0]
call fcn.100036e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0x28]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa0]
call fcn.10003970
push 4
push str..png
lea ecx, [ebp - 0x28]
call fcn.10003b10
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push 0xd
cmovae eax, dword [ebp - 0x58]
push edi
push esi
push ecx
push eax
call dword [0x100dca8c]
add esp, 0x14
cmp eax, 1
je 0x100095dd
push dword [ebp - 0x15c]
cmp dword [ebp - 0xe0], 8
lea ecx, [ebp - 0xf4]
push edi
cmovae ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [0x100dca8c]
mov edi, eax
add esp, 0x14
cmp edi, 1
je 0x100095dd
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.10003970
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
push dword [ebp - 0xe4]
cmovae eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x58]
push eax
call fcn.100039d0
cmp dword [0x100dcac4], 0
je 0x1000927e
push ecx
push 0x14
mov ecx, 0x100dcaa0
call fcn.1000af10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x168]
call fcn.100a2590
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.10003970
lea ecx, [ebp - 0x124]
call fcn.10070340
cmp dword [ebp - 0x110], 8
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x30]
lea esi, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x124]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x15c], eax
cmovae esi, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x114]
jne 0x10009611
test edx, edx
je 0x100092f6
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x10009611
add ecx, 2
sub edx, 1
jne 0x100092e1
mov edi, dword [ebp + 0x10]
cmp dword [0x100dca90], 0
je 0x10009607
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], 0x16
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 4
jne 0x100094df
mov ecx, str..gif
lea edx, [eax + 4]
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x100094df
add ecx, 2
sub edx, 1
jne 0x10009381
push str.imagegifsrc_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
lea ecx, [ebp - 0xa0]
call fcn.100036e0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0x70]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xdc]
push eax
call fcn.10003670
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x70]
call fcn.10003970
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
call fcn.10003970
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xdc]
push eax
call fcn.10003b10
lea ecx, [ebp - 0xdc]
call fcn.1000e1f0
test al, al
je 0x10009420
lea ecx, [ebp - 0xdc]
call fcn.10011980
cmp dword [ebp - 0xc8], 8
lea ecx, [ebp - 0xdc]
push 0
cmovae ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.imagegifdest_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
lea ecx, [ebp - 0xa0]
call fcn.100036e0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0x70]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xc4]
push eax
call fcn.10003670
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
call fcn.10003970
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
call fcn.10003970
cmp dword [ebp - 0x110], 8
lea eax, [ebp - 0x124]
push dword [ebp - 0x114]
cmovae eax, dword [ebp - 0x124]
lea ecx, [ebp - 0xc4]
push eax
call fcn.10003b10
lea ecx, [ebp - 0xc4]
call fcn.1000e1f0
test al, al
je 0x100094df
lea ecx, [ebp - 0xc4]
call fcn.10011980
mov eax, dword [ebp + 0x18]
mov byte [ebp - 0xac], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
mov byte [ebp - 0xa0], 0
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x90], edi
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x13c]
push 0
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
call fcn.1000c3a0
mov edx, eax
mov dword [ebp - 0x158], 1
add esp, 8
cmp dword [edx + 0x14], 0x10
jb 0x1000954b
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009570
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100073e0
mov byte [ebp - 4], 0x1c
mov esi, 1
mov dword [ebp - 0x158], esi
and esi, 0xfffffffe
mov dword [ebp - 0x158], esi
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x128]
cmp edx, 0x10
jb 0x10009899
mov ecx, dword [ebp - 0x13c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000988f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000988f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.10003970
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x168]
call fcn.100a2590
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.10003970
mov edi, 1
jmp 0x10009d7e
cmp dword [0x100dca8c], 0
je 0x10009d7e
push 0x32
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.imagecompress_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100039d0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0x10c]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.10003970
cmp dword [ebp - 0x110], 8
lea eax, [ebp - 0x124]
push dword [ebp - 0x114]
cmovae eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10003b10
lea ecx, [ebp - 0x10c]
call fcn.1000e1f0
test al, al
je 0x100096b6
lea ecx, [ebp - 0x10c]
call fcn.10011980
lea ecx, [ebp - 0x168]
call fcn.100a2540
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c]
cmp dword [ebp - 0xf8], 8
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x15c]
cmovae ecx, dword [ebp - 0x10c]
cmp dword [ebp - 0x44], 8
mov edi, dword [ebp + 0x10]
cmovae eax, dword [ebp - 0x58]
push esi
push dword [ebp + 0x14]
push edi
push ecx
push eax
call dword [0x100dca8c]
add esp, 0x14
cmp eax, 1
jne 0x100097ff
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push 4
push str..bmp
call fcn.1000afd0
add esp, 8
test eax, eax
jne 0x10009867
cmp esi, 2
jne 0x10009867
push str.imagecompressSrcPng_3B226648_8EAC_463F_AF1C_3A1F3DC7A5DD
lea ecx, [ebp - 0xa0]
call fcn.100036e0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x100dcac8
lea ecx, [ebp - 0x28]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa0]
call fcn.10003970
push str..png
lea ecx, [ebp - 0x28]
call fcn.10003600
lea ecx, [ebp - 0x28]
call fcn.1000e1f0
test al, al
je 0x1000978f
lea ecx, [ebp - 0x28]
call fcn.10011980
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push 0xd
cmovae eax, dword [ebp - 0x58]
push esi
push edi
push ecx
push eax
call dword [0x100dca8c]
add esp, 0x14
cmp eax, 1
je 0x1000985b
cmp dword [ebp - 0xf8], 8
lea ecx, [ebp - 0x10c]
push 2
cmovae ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push edi
push ecx
push eax
call dword [0x100dca8c]
add esp, 0x14
cmp eax, 1
je 0x1000985b
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.10003970
cmp dword [ebp - 0xf8], 8
lea eax, [ebp - 0x10c]
push dword [ebp - 0xfc]
cmovae eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x58]
push eax
call fcn.100039d0
cmp dword [0x100dcac4], 0
je 0x10009838
push ecx
push 0x32
mov ecx, 0x100dcaa0
call fcn.1000af10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x168]
call fcn.100a2590
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.10003970
jmp 0x100092f9
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.10003970
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x168]
call fcn.100a2590
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.10003970
mov edi, 1
jmp 0x10009d7e
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x160]
push 0
push 0xffffffffffffffff
call fcn.1000c3a0
mov edx, eax
or esi, 4
add esp, 8
mov dword [ebp - 0x158], esi
cmp dword [edx + 0x14], 0x10
jb 0x100098e3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009910
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.100073e0
mov byte [ebp - 4], 0x1f
and esi, 0xfffffffb
mov dword [ebp - 0x158], esi
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x140]
cmp edx, 0x10
jb 0x10009973
mov ecx, dword [ebp - 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009969
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov dword [ebp - 0x144], 0
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 4
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
jne 0x10009ae9
mov ecx, str..gif
mov edx, 4
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10009ae9
add ecx, 2
sub edx, 1
jne 0x100099b0
cmp dword [ebp - 0xcc], edx
je 0x10009ae9
cmp dword [ebp - 0xb4], edx
je 0x10009ae9
push edx
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x70]
call fcn.1000c330
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x21
cmp dword [edx + 0x14], 0x10
jb 0x100099fd
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009a02
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100073e0
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10009a4f
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009a45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009a45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
push 0
lea edx, [ebp - 0xc4]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000c330
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x22
cmp dword [edx + 0x14], 0x10
jb 0x10009a82
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009a87
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.100073e0
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10009ad7
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009acd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009acd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
movups xmm0, xmmword [ebp - 0xac]
mov ecx, dword [ebp + 0x14]
sub esp, 0x24
mov eax, esp
sub esp, 0x18
mov dword [ebp - 0x15c], esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], ecx
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.100038b0
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa0]
call fcn.10008bd0
add esp, 0x18
mov byte [ebp - 4], 0x24
cmp dword [eax + 0x14], 0x10
jb 0x10009b42
mov eax, dword [eax]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x15c], esp
push eax
call fcn.100038b0
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x70]
call fcn.10008bd0
add esp, 0x18
mov byte [ebp - 4], 0x26
cmp dword [eax + 0x14], 0x10
jb 0x10009b76
mov eax, dword [eax]
push eax
call dword [0x100dca90]
add esp, 0x2c
mov edi, eax
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10009bbc
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009bb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009bb2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x10009c0e
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009c04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009c04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
test edi, edi
jne 0x10009ca9
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x30], 4
jne 0x10009ca9
mov ecx, str..gif
lea edx, [edi + 4]
sub esi, ecx
nop dword [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x10009ca9
add ecx, 2
sub edx, 1
jne 0x10009c50
cmp dword [ebp - 0xcc], edx
je 0x10009ca9
cmp dword [ebp - 0xb4], edx
je 0x10009ca9
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
push edx
push dword [ebp - 0x160]
cmovae eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0xdc]
call fcn.10011980
lea ecx, [ebp - 0xc4]
call fcn.10011980
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x10009ce6
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009cdc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10009d35
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009d2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009d2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
jne 0x10009d60
cmp dword [0x100dcac4], edi
je 0x10009d60
push ecx
push 0x64
mov ecx, 0x100dcaa0
call fcn.1000af10
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xc4]
call fcn.10003970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
call fcn.10003970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.10003970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call fcn.10003970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10003970
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a26ec
mov esp, ebp
pop ebp
ret 0x18