Function at 0x10031240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0dcc
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x100cc314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xb8], ebx
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x184]
push eax
lea ecx, [ebp - 0x70]
call fcn.100188f0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x70]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebx + 0xa4], 0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
je 0x100312fb
cmp dword [ebx + 0x124], 0
je 0x100312de
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
or eax, 0xcf0000
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp byte [ebx + 0x14c], 0
je 0x100312fb
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
cmp dword [ebx + 0x128], 0
je 0x10031318
push 0xffffffffffffffec
push dword [ebx + 4]
call esi
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebx + 4]
call edi
lea eax, [ebx + 0x154]
push eax
lea ecx, [ebp - 0xa0]
call fcn.100188f0
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 1
je 0x1003134f
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.100188f0
mov ecx, ebx
call fcn.10031db0
lea eax, [ebx + 0x16c]
push eax
lea ecx, [ebp - 0x88]
call fcn.100188f0
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
je 0x10031383
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.100188f0
mov ecx, ebx
call fcn.10032160
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [ebx + 0xb0]
lea ecx, [ebx + 0xb4]
mov edi, eax
mov dword [ebp - 0xa4], esi
xor eax, eax
mov dword [ebp - 0xb0], edi
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa8], eax
call fcn.100188f0
mov byte [ebp - 4], 3
call fcn.1004a880
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003150b
push 0x40
push str.e:codeclean_master1webwrapwebwrapwebwrapwebwndweb_wnd.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.10005050
push 3
push 0x100a78cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10005050
mov byte [ebp - 4], 5
call fcn.1004a880
mov edi, eax
lea ecx, [ebp - 0x150]
push 0xa5
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10002400
mov esi, eax
push str.icon_path:
push esi
mov byte [ebp - 4], 6
call fcn.100034e0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100172d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.10003610
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x100314b5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100314ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318da
push edx
push ecx
call fcn.10061f44
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x100314ff
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100314f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318df
push edx
push ecx
call fcn.10061f44
add esp, 8
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb0]
test esi, esi
jle 0x1003154f
cmp dword [ebp - 0x18], 0
jne 0x10031559
movzx eax, si
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
je 0x10031549
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x18], 0
je 0x1003177e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xb4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10018730
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100588f0
add esp, 8
mov edx, dword [ebp - 0xb4]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100315ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str..dll
push dword [ebp - 0xa4]
mov dword [ebp - 0xac], 0
call fcn.1007529b
add esp, 8
test eax, eax
je 0x100317b0
push str..tpi
push dword [ebp - 0xa4]
call fcn.1007529b
add esp, 8
test eax, eax
je 0x100317b0
push str..exe
push dword [ebp - 0xa4]
call fcn.1007529b
add esp, 8
test eax, eax
je 0x100317b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x2010
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 1
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
mov dword [ebp - 0xa8], esi
call fcn.1004a880
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10031727
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
push str.e:codeclean_master1webwrapwebwrapwebwrapwebwndweb_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10005050
push 3
push 0x100a78cc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10005050
mov byte [ebp - 4], 0xb
call fcn.1004a880
mov edi, eax
lea ecx, [ebp - 0x150]
push 0xbf
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10002400
mov esi, eax
push str.set_icon:
push esi
mov byte [ebp - 4], 0xc
call fcn.100034e0
mov eax, dword [ebp - 0xa8]
add esp, 8
mov ecx, esi
push eax
call fcn.10034bc0
push 0x100a9560
push esi
call fcn.100034e0
add esp, 8
mov ecx, esi
push ebx
call fcn.10018f60
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.10003610
lea ecx, [ebp - 0x58]
call fcn.10002dd0
lea ecx, [ebp - 0x40]
call fcn.10002dd0
mov ebx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa8]
test esi, esi
je 0x10031748
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0xfffffffffffffff2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [ebp - 0xac], 0
je 0x1003175c
test edi, edi
je 0x1003175c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003177e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100317f6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100317ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318e4
jmp 0x100317ec
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 2
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov dword [ebp - 0xac], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10031721
movzx eax, si
push eax
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
jmp 0x10031727
push edx
push ecx
call fcn.10061f44
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x10031847
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003183d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318e9
push edx
push ecx
call fcn.10061f44
add esp, 8
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x10031883
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318ee
push edx
push ecx
call fcn.10061f44
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x100318b9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100318af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100318f3
push edx
push ecx
call fcn.10061f44
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061f52
mov esp, ebp
pop ebp
ret
call fcn.1006f15a
call fcn.1006f15a
call fcn.1006f15a
call fcn.1006f15a
call fcn.1006f15a
call fcn.1006f15a
int3