Function at 0x10036000
Capabilities:
Capture webcam image
Inspect load icon resource
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007cba2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x574
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x16c]
push 0xffffffffffffffff
push eax
call fcn.10011010
mov eax, dword [ebp + 0x170]
push 0xffffffffffffffff
push eax
call fcn.10011010
mov eax, dword [0x10098994]
push 0xad
push eax
mov dword [esp + 0x594], 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [ebp + 0x16c]
push 0xec52e4
push eax
push ecx
mov dword [esp + 0x78], eax
call fcn.10010ec0
mov edx, dword [0x10098990]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0xea
push edx
call edi
mov esi, eax
mov eax, dword [ebp + 0x16c]
push esi
push 0xffffffffffffffff
push eax
call fcn.10010db0
mov ebx, dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call ebx
mov ecx, dword [0x10098990]
push 0xec
push ecx
call edi
mov edx, dword [ebp + 0x16c]
mov esi, eax
push esi
push 0xffffffffffffffff
push edx
call fcn.10010db0
push esi
call ebx
mov eax, dword [0x10098990]
push 0xeb
push eax
call edi
mov ecx, dword [ebp + 0x16c]
mov esi, eax
push esi
push 0xffffffffffffffff
push ecx
call fcn.10010db0
push esi
call ebx
mov ecx, dword [0x10096d68]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x100367f9
mov eax, dword [ecx + 0x38]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100367f9
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x58c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x58c], 2
jge 0x10036169
push 0x104
lea ecx, [esp + 0x24]
call fcn.100029f0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x10098990]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push esi
push ecx
call edi
test esi, esi
jne 0x10036186
xor eax, eax
jmp 0x1003619f
mov eax, esi
lea edx, [eax + 1]
jmp 0x10036190
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036190
sub eax, edx
js 0x10036864
cmp eax, dword [esi - 8]
jg 0x10036864
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x100361c3
or eax, 0xffffffff
jmp 0x100361c5
sub eax, esi
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
call fcn.10008ae0
mov ecx, dword [0x10096d68]
mov edx, dword [ecx + 0x18]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_theme_s
push ecx
mov byte [esp + 0x59c], 3
call fcn.10004e20
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x58c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10036221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x44], eax
call fcn.10002a40
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
push 0xc
push str.marquee.ico
lea ecx, [esp + 0x2c]
mov byte [esp + 0x594], 4
call fcn.1000cde0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push 0x32
call esi
push eax
push 0x31
call esi
push eax
mov eax, dword [esp + 0x30]
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
test eax, eax
mov dword [esp + 0x28], eax
je 0x10036291
mov ecx, dword [ebp + 0x170]
push eax
push 0xffffffffffffffff
push ecx
call fcn.10010db0
jmp 0x1003677f
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x58c], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x58c], 6
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x58c], 7
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x58c], 8
jge 0x1003632b
push 0x104
lea ecx, [esp + 0x40]
call fcn.100029f0
mov esi, dword [esp + 0x3c]
mov ecx, dword [0x10098990]
push 0x104
push esi
push ecx
call edi
test esi, esi
jne 0x10036342
xor eax, eax
jmp 0x10036356
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036347
sub eax, edx
js 0x10036864
cmp eax, dword [esi - 8]
jg 0x10036864
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x1003637a
or eax, 0xffffffff
jmp 0x1003637c
sub eax, esi
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x44]
call fcn.10008ae0
mov ecx, dword [0x10096d68]
mov edx, dword [ecx + 0x48]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x3c]
push str._s_theme_s_theme.xml
push ecx
mov byte [esp + 0x59c], 9
call fcn.10004e20
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x58c], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100363d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x34]
push 0x5c
push esi
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x100363f0
or eax, 0xffffffff
jmp 0x100363f2
sub eax, esi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x590], 0xa
call fcn.10004aa0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x10096d68]
mov ecx, dword [eax + 0x38]
mov esi, dword [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x40]
push str._s_s
push edx
call fcn.10004e20
mov eax, dword [0x10096d68]
mov ebx, dword [esp + 0x48]
mov eax, dword [eax + 0x30]
push 0x1388
push 1
push 0
push ebx
push eax
call fcn.10021df0
add esp, 0x24
push 1
push 0x1b6
push 1
push ebx
lea ecx, [esp + 0x80]
call fcn.10017b20
sub esp, 0x18
mov eax, esp
mov dword [eax], 0
mov ecx, dword [0x10098ae0]
mov dword [eax + 8], ecx
mov edx, dword [0x10098ae4]
mov dword [eax + 0xc], edx
mov ecx, dword [0x10096890]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x5a4], 0xb
mov dword [esp + 0x34], esp
call fcn.1000f480
mov edx, dword [esp + 0x70]
mov byte [esp + 0x198], 0
xor eax, eax
mov ecx, 0xf9
lea edi, [esp + 0x199]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0x74]
call fcn.1000ff50
lea ecx, [esp + 0x70]
push eax
push 0x104
lea eax, [esp + 0x1a0]
push eax
call fcn.10010570
lea eax, [esp + 0x198]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10036517
sub eax, edx
mov dword [esp + 0x1c], eax
je 0x10036683
lea ecx, [esp + 0x198]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10005e50
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov byte [esp + 0x58c], 0xc
jge 0x10036553
or eax, 0xffffffff
jmp 0x1003656e
push 0x10083eb8
push eax
call fcn.10069ea0
add esp, 8
test eax, eax
jne 0x1003656a
or eax, 0xffffffff
jmp 0x1003656e
sub eax, dword [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
call fcn.10008ae0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
sub eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x594], 0xd
call fcn.10008dd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58c], 0xe
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
lea ecx, [esp + 0x30]
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10036611
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x10036611
push str.Marquee.ico
push esi
lea edx, [esp + 0x40]
push str._s_s
push edx
call fcn.10004e20
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
push 0x1388
push 1
push 0
push ebx
push eax
call fcn.10021df0
add esp, 0x24
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003665d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036683
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x70]
call fcn.10012af0
mov eax, dword [0x10098990]
push 0xe9
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
test esi, esi
je 0x100366b9
mov ecx, dword [ebp + 0x170]
push esi
push 0xffffffffffffffff
push ecx
call fcn.10010db0
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x58c], 8
call fcn.10017c60
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.10068177
lea eax, [ebx - 0x10]
mov byte [esp + 0x58c], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003670d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036733
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003677f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100367b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x58c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100367d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100367f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x108]
call fcn.10040ac0
mov eax, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xea93
push 0x419
push eax
mov byte [esp + 0x59c], 0xf
call ebx
mov ecx, dword [ebp + 4]
push 0
push 0
mov edi, eax
push 0x418
inc edi
push ecx
mov dword [esp + 0x50], edi
call ebx
test edi, edi
mov esi, eax
jl 0x10036885
call fcn.1001d2c0
cmp eax, 1
jne 0x1003686e
cmp edi, esi
jge 0x10036885
sub esi, edi
mov edx, dword [ebp + 4]
push 0
push edi
push 0x416
push edx
call ebx
dec esi
jne 0x10036851
jmp 0x10036885
push 0x80070057
call fcn.10001330
cmp edi, esi
jge 0x10036885
sub esi, edi
mov eax, dword [ebp + 4]
push 0
push edi
push 0x416
push eax
call ebx
dec esi
jne 0x10036874
mov ecx, dword [ebp + 0x354]
mov edx, dword [ecx + 4]
lea esi, [ebp + 0x350]
mov edi, 0xeac4
push edx
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.1002afa0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push 0
push 0x1f3
mov byte [esp + 0x594], 0x10
call fcn.10001450
add esp, 8
test eax, eax
je 0x100368fb
push 0x1f3
push eax
lea ecx, [esp + 0x28]
call fcn.10004800
mov esi, 1
push str.DownloadToolbar
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], esi
call fcn.10005e50
lea ecx, [esp + 0x48]
push ecx
push 0x4aa7
lea edx, [esp + 0x1c]
push edx
push SysReAllocStringLen
mov byte [esp + 0x59c], 0x11
call fcn.1004a560
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x58c], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003695c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.DownloadToolbar
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], esi
call fcn.10005e50
lea eax, [esp + 0x44]
push eax
push 0x4a9f
lea ecx, [esp + 0x1c]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x59c], 0x12
call fcn.1004a560
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x58c], 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100369b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x10096d70]
test eax, eax
je 0x100369ca
push eax
call fcn.10069196
add esp, 4
xor eax, eax
mov dword [0x10096d70], eax
mov dword [0x10096d74], eax
mov dword [0x10096d78], eax
mov ebx, dword [ebp + 0x27c]
cmp ebx, dword [ebp + 0x280]
mov dword [esp + 0x2c], ebx
je 0x10036e18
cmp edi, 0xebf0
jge 0x10036e18
mov eax, dword [ebx + 0x54]
test al, 2
je 0x10036a10
test al, 4
je 0x10036a10
test al, 1
je 0x10036e00
mov eax, dword [ebp + 0x16c]
push eax
call fcn.10010ca0
mov ecx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [ebx + 4]
push ecx
push eax
mov dword [esp + 0x30], esi
call fcn.10068d19
add esp, 8
test eax, eax
jne 0x10036ca9
push ebx
mov ecx, ebp
call fcn.1002b540
test eax, eax
jne 0x10036a51
mov dword [ebx + 0x88], 1
mov eax, dword [esp + 0x40]
test eax, eax
jge 0x10036aa2
mov eax, dword [esp + 0x44]
test eax, eax
push 4
push 0xffffffffffffffff
mov ecx, ebp
push esi
je 0x10036a6e
mov eax, dword [ebx + 8]
push eax
jmp 0x10036a73
push 0x10081bf2
push 0x10
push edi
call fcn.1002f4f0
mov edx, dword [ebp + 4]
push 0
push 0
push 0x418
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push 1
push 0
push eax
mov ecx, ebp
call fcn.1002e0e0
mov dword [esp + 0x28], edi
push ebx
lea eax, [esp + 0x2c]
inc edi
push eax
lea ecx, [ebp + 0x350]
mov dword [esp + 0x20], edi
call fcn.10031ed0
mov ecx, eax
call fcn.10023490
mov ecx, dword [0x10096d68]
call fcn.10051270
push eax
lea ecx, [esp + 0x50]
call fcn.10007c30
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
mov byte [esp + 0x58c], 0x13
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
je 0x10036c3e
lea ebx, [ebx]
mov esi, dword [ebp + 0x27c]
cmp esi, dword [ebp + 0x280]
je 0x10036bf2
cmp edi, 0xebf0
jge 0x10036bf2
mov ecx, dword [ebp + 0x16c]
push ecx
call fcn.10010ca0
lea ecx, [esp + 0x70]
mov ebx, eax
call fcn.10040ac0
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x590], 0x14
call fcn.10023490
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
push edx
push eax
call fcn.10068d19
add esp, 8
test eax, eax
je 0x10036bcd
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.10068d19
add esp, 8
test eax, eax
jne 0x10036bc0
push esi
mov ecx, ebp
call fcn.1002b540
test eax, eax
jne 0x10036b8a
mov dword [esi + 0x88], 1
push 4
push 0xffffffffffffffff
push ebx
push 0
push 0x10
push edi
mov ecx, ebp
call fcn.1002f4f0
push esi
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], edi
lea ecx, [ebp + 0x350]
mov dword [esp + 0x1c], 1
inc edi
call fcn.10031ed0
mov ecx, eax
call fcn.10023490
push esi
lea ecx, [esp + 0x10c]
call fcn.10023490
lea ecx, [esp + 0x70]
mov byte [esp + 0x58c], 0x13
call fcn.10040c60
mov eax, dword [ebp + 0x280]
add esi, 0x8c
cmp esi, eax
jne 0x10036b12
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
add eax, 0x8c
cmp eax, ecx
mov dword [esp + 0x24], eax
jne 0x10036b00
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], edi
je 0x10036c3e
mov edx, dword [ebp + 4]
push 0
push 0
push 0x418
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0
push 1
push 0
push eax
mov ecx, ebp
call fcn.1002e0e0
mov eax, dword [esp + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x10036c5a
mov eax, dword [ebp + 4]
push 1
push edi
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov byte [esp + 0x58c], 0x10
je 0x10036c94
mov esi, eax
cmp esi, dword [esp + 0x54]
je 0x10036c87
mov ecx, esi
call fcn.10040c60
mov eax, dword [esp + 0x54]
add esi, 0x8c
cmp esi, eax
jne 0x10036c72
mov ecx, dword [esp + 0x50]
push ecx
call fcn.10069196
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x10036e00
mov ecx, dword [0x10096d68]
call fcn.10051270
push eax
lea ecx, [esp + 0x60]
call fcn.10007c30
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x64]
mov byte [esp + 0x58c], 0x15
mov dword [esp + 0x14], eax
je 0x10036d26
mov esi, dword [eax + 4]
mov eax, dword [ebx + 4]
lea ebx, [ebx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10036d04
test cl, cl
je 0x10036d00
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10036d04
add eax, 2
add esi, 2
test cl, cl
jne 0x10036ce0
xor eax, eax
jmp 0x10036d09
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10036db4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
add eax, 0x8c
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x10036cd4
push ebx
mov ecx, ebp
call fcn.1002b540
test eax, eax
jne 0x10036d3c
mov dword [ebx + 0x88], 1
mov eax, dword [esp + 0x28]
push 4
push 0xffffffffffffffff
push eax
push 0
push 0x10
push edi
mov ecx, ebp
call fcn.1002f4f0
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebp + 0x350]
call fcn.10031ed0
mov ecx, eax
call fcn.10023490
mov edx, dword [0x10096d70]
test edx, edx
mov esi, dword [0x10096d74]
je 0x10036d9d
mov ecx, dword [0x10096d78]
mov eax, esi
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x10036d9d
mov eax, esi
add eax, 4
mov dword [esi], edi
mov dword [0x10096d74], eax
jmp 0x10036daf
lea edx, [esp + 0x18]
push edx
push 1
push esi
mov ecx, 0x10096d6c
call fcn.1002f2f0
inc edi
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x60]
test esi, esi
mov byte [esp + 0x58c], 0x10
je 0x10036df2
cmp esi, dword [esp + 0x64]
je 0x10036de5
lea ebx, [ebx]
mov ecx, esi
call fcn.10040c60
mov eax, dword [esp + 0x64]
add esi, 0x8c
cmp esi, eax
jne 0x10036dd0
mov eax, dword [esp + 0x60]
push eax
call fcn.10069196
add esp, 4
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x280]
add ebx, 0x8c
cmp ebx, eax
mov dword [esp + 0x2c], ebx
jne 0x100369f1
mov ecx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xea6c
push 0x419
push ecx
call ebx
lea edi, [ebp + 0x178]
mov ecx, edi
mov esi, eax
call fcn.10018150
cmp esi, 0xffffffff
je 0x10036e52
mov edx, dword [ebp + 4]
push 0
push esi
push 0x416
push edx
call ebx
mov eax, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0xc
push eax
call esi
mov ecx, dword [ebp + 4]
push 0xb
push ecx
call esi
mov eax, dword [0x10096d68]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x10036eb1
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x10036eb1
push eax
mov ecx, edi
call fcn.100187a0
test eax, eax
je 0x10036eb1
push 0
push 0xb
mov ecx, ebp
call fcn.10035af0
mov edx, dword [ebp + 4]
push 0
push 0x1f40
push 0xb
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x2a4], eax
mov eax, dword [ebp + 0x1a0]
test eax, eax
je 0x10036ed0
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test eax, eax
je 0x10036ed0
mov dword [ebp + 0x1a0], 0
mov eax, dword [0x10098994]
push 0x6d
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
mov ecx, ebp
mov dword [ebp + 0x1a0], eax
call fcn.10032d00
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x58c], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x108]
mov byte [esp + 0x58c], 0
call fcn.10040c60
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10036f36
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x584]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret