Function at 0x1006b946
Capabilities:
Create thread

Disassembly:
push ebp
sub esp, 0x68c
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x68c], eax
push 0x30
mov eax, 0x10183a23
call fcn.10145d80
xor ebx, ebx
push ebx
push str._b_tg_e
push 0x1200
push ebx
push str..jpg
mov dword [ebp - 0x20], ecx
push 1
lea ecx, [ebp]
call fcn.10068de9
mov dword [ebp], 0x101a7d14
mov esi, 0x1fffe
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 0x40], 0xffff
call fcn.10144fc2
push esi
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x24], edi
call fcn.10146c80
add esp, 0x10
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x101f84e8
mov dword [ebp + 0x3c], edi
call fcn.100541df
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
je 0x1006b9d2
mov dword [ebp + 0x4c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 0x1e0]
mov byte [ebp - 4], 2
call fcn.1003a79f
push 0x206
lea eax, [ebp + 0x486]
push ebx
push eax
mov word [ebp + 0x484], bx
call fcn.10146c80
add esp, 0xc
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp]
call fcn.10068ce6
cmp eax, 1
jne 0x1006bd24
push edi
lea ecx, [ebp - 0x18]
call fcn.10007b11
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1006ba70
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.1002a041
cmp eax, 0xffffffff
je 0x1006ba70
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.10011725
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10003b75
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
je 0x1006ba91
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10007ade
mov ecx, 0x101f84e8
call fcn.1005425f
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
xor edi, edi
jmp 0x1006baa0
xor ebx, ebx
movzx eax, word [esi]
movzx ecx, word [esi + 2]
cmp ax, bx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
jne 0x1006bb3b
test cx, cx
je 0x1006bb4a
mov ecx, dword [ebp - 0x20]
add ecx, 0x1c8
call fcn.10064a33
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
je 0x1006badd
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x34]
sar ecx, 2
add eax, ecx
cmp eax, 0x64
jge 0x1006bbc3
mov eax, dword [ebp - 0x28]
mov ecx, edi
sub ecx, eax
lea ecx, [ecx + ecx + 2]
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp + 0x484]
push eax
call fcn.10147010
add esp, 0xc
lea eax, [ebp + 0x484]
push eax
lea ecx, [ebp - 0x10]
call fcn.10007b11
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.1003a823
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10003b75
lea eax, [edi + 1]
mov dword [ebp - 0x28], eax
inc edi
inc esi
inc esi
cmp edi, 0xfffe
jl 0x1006ba9e
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x28], edi
jge 0x1006bc70
lea ecx, [esi + 0x1c8]
call fcn.10064a33
cmp eax, 0x64
jl 0x1006bc25
cmp dword [ebp - 0x14], 0
jne 0x1006bc70
mov eax, dword [0x101f3028]
mov dword [ebp - 0x1c], eax
push 0xf4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.100045b9
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push 0xe4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.100045b9
push 0x40
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x10]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
jmp 0x1006bc67
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push 0xf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.100045b9
mov eax, dword [0x101f3028]
mov dword [ebp - 0x1c], eax
push 0xe4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.100045b9
mov esi, dword [ebp - 0x20]
push 0x40
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 1
call fcn.10003b75
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10003b75
jmp 0x1006bb4d
mov eax, dword [ebp - 0x28]
sub edi, eax
lea ecx, [edi + edi + 2]
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp + 0x484]
push eax
call fcn.10147010
add esp, 0xc
lea eax, [ebp + 0x484]
push eax
lea ecx, [ebp - 0x14]
call fcn.10007b11
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.1003a823
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10003b75
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
je 0x1006bd14
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
xor edi, edi
sar eax, 2
inc edi
cmp eax, edi
jbe 0x1006bcfb
push 0x1019fce4
push ecx
lea ecx, [ebp - 0x38]
call fcn.10004cf1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007b6e
mov byte [ebp - 4], 0xb
xor eax, eax
cmp dword [ebp - 0x34], eax
je 0x1006bcb7
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
cmp edi, eax
jge 0x1006bcf1
push edi
lea ecx, [ebp - 0x38]
call fcn.10004cf1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100100f8
push eax
lea ecx, [esi + 0x1e0]
mov byte [ebp - 4], 0xc
call fcn.1003a823
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.10003b75
inc edi
jmp 0x1006bca7
lea ecx, [ebp - 0x14]
call fcn.10003b75
jmp 0x1006bd14
cmp eax, ecx
je 0x1006bd14
push ecx
lea ecx, [ebp - 0x38]
call fcn.10004cf1
push eax
lea ecx, [esi + 0x1e0]
call fcn.1003a823
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
xor ebx, ebx
push edi
call fcn.10145563
pop ecx
lea ecx, [esi + 0x1e0]
call fcn.10004cde
test eax, eax
je 0x1006bd4c
push ebx
push ebx
push esi
push 0x1006b8da
push ebx
push ebx
call fcn.10147cdf
add esp, 0x18
push dword [esi + 0x188]
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x38]
call fcn.1000907e
lea ecx, [ebp - 0x3c]
call fcn.10003b75
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x14], ebx
je 0x1006bd79
push dword [ebp + 0x14]
call fcn.10143cda
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68c]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x690
leave
ret