Function at 0x40b334
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x4203ed
call fcn.00417e88
sub esp, 0x90
mov eax, dword [0x428108]
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call dword [0x428d2c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call fcn.0040f797
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 4], 1
rdtsc
xor eax, edx
push ebx
mov dword [0x429784], eax
call fcn.00416f6b
push eax
call fcn.00416f31
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004096ea
add esp, 0x10
call fcn.00416f3e
xor edx, edx
push 7
pop ecx
div ecx
imul edx, edx, 0xfffffff6
add dword [ebp - 0x54], edx
call fcn.00416f3e
push 9
pop ecx
xor edx, edx
div ecx
lea eax, [ebp - 0x98]
imul edx, edx, 0xfffffff6
add dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push ebx
push 0x10400000
push str.8856F961_340A_11D0_A96B_00C04FD705A2
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x68], esp
mov dword [eax], ecx
push ebx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040bcd3
mov esi, dword [ebp + 8]
mov dword [esi + 0x64], eax
push 0x42146c
lea eax, [ebp - 0x6c]
push eax
lea edi, [ebp - 0x50]
call fcn.0040bcfc
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov edi, dword [ebp - 0x50]
je 0x40b42c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x58]
push ecx
push 0x4214dc
mov dword [ebp - 0x58], ebx
mov eax, dword [edi]
push edi
call dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.0040dba6
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
push edi
call dword [eax + 4]
push ecx
mov dword [ebp - 0x68], esp
mov ecx, esp
push dword [ebp - 0x50]
call fcn.0040222a
mov eax, edi
call fcn.00404e05
push 0x42145c
push dword [ebp - 0x58]
lea ecx, [edi + 4]
call fcn.0040bdf9
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 2
cmp dword [esi + 0x18], 0x10
mov word [ebp - 0x84], 1
jb 0x40b499
mov eax, dword [esi + 4]
jmp 0x40b49c
lea eax, [esi + 4]
cmp eax, ebx
mov dword [ebp - 0x4c], eax
jne 0x40b4a8
mov dword [ebp - 0x60], ebx
jmp 0x40b4d8
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.00417de0
mov eax, esp
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x4c]
mov esi, eax
call fcn.00404c0a
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
lea edx, [ebp - 0x84]
push edx
push edx
push edx
push edx
push dword [ebp - 0x60]
push ecx
call dword [eax + 0x2c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
push esi
mov dword [ebp - 0x60], eax
call fcn.00402833
lea eax, [ebp - 0x2c]
push eax
call fcn.00408d91
add esp, 0x20
cmp dword [ebp - 0x60], ebx
mov byte [ebp - 4], 3
jne 0x40b7ce
push 0xea60
mov esi, edi
call fcn.004015c3
mov esi, dword [ebp + 8]
push dword [esi + 0x64]
call fcn.00408eec
mov dword [ebp - 0x68], esp
mov ecx, esp
push dword [ebp - 0x50]
mov dword [esi + 0x68], eax
call fcn.0040222a
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0040b290
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x54], ebx
je 0x40b7bd
cmp dword [esi + 0x68], ebx
je 0x40b7bd
rdtsc
xor eax, edx
mov dword [0x429784], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x74], ebx
jmp 0x40b576
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x54], ebx
je 0x40b7bd
cmp dword [esi + 0x74], ebx
jne 0x40b7bd
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x54]
push ecx
mov esi, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0040dc1f
call fcn.0040a73f
add esp, 0xc
cmp eax, ebx
je 0x40b7bd
push 0xea60
mov esi, edi
call fcn.004015c3
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x6c]
push eax
call fcn.004097d7
cmp eax, ebx
pop ecx
je 0x40b7bd
push 0x422ca0
lea esi, [ebp - 0x4c]
call fcn.0041343a
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, esi
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
mov dword [ebp - 0x5c], eax
jne 0x40b5f8
xor eax, eax
jmp 0x40b620
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00417de0
mov eax, esp
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x5c]
mov esi, eax
call fcn.00404b4c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.004021b9
lea eax, [ebp - 0x48]
push eax
call fcn.00408d91
mov byte [ebp - 4], 6
call fcn.00416f3e
xor edx, edx
push 3
pop ecx
div ecx
add edx, ecx
imul edx, edx, 0x3e8
push edx
call fcn.00401568
add esp, 0x20
mov eax, esp
xor esi, esi
mov dword [eax], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], esp
inc esi
push esi
push dword [eax + 0x68]
call fcn.00406af9
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.0040e5c1
test eax, eax
je 0x40b757
cmp dword [ebp - 0x74], ebx
jne 0x40b757
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x5c], eax
jne 0x40b69e
xor eax, eax
jmp 0x40b6c6
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00417de0
mov eax, esp
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x5c]
mov esi, eax
call fcn.00404b4c
push eax
call fcn.0040a6de
test eax, eax
pop ecx
je 0x40b757
lea eax, [edi + 0x38]
xor esi, esi
mov dword [ebp - 0x5c], eax
call fcn.0040187a
test eax, eax
jbe 0x40b757
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0x10
push eax
jb 0x40b6f5
mov eax, dword [eax + 0x20]
jmp 0x40b6f8
add eax, 0x20
mov edi, dword [edi + 0x3c]
push eax
push ecx
lea eax, [edi + esi*8]
add eax, 4
mov ecx, esp
mov dword [ebp - 0x9c], esp
push eax
call fcn.00402243
push ecx
lea eax, [ebp - 0x4c]
mov edi, esp
mov byte [ebp - 4], 7
mov dword [ebp - 0x88], esp
call fcn.004130d0
mov byte [ebp - 4], 6
call fcn.00408868
add esp, 0x10
cmp eax, ebx
jne 0x40b748
mov eax, dword [ebp - 0x5c]
inc esi
call fcn.0040187a
cmp esi, eax
mov edi, dword [ebp - 0x64]
jb 0x40b6e6
jmp 0x40b757
mov esi, dword [ebp - 0x64]
push 0xea60
call fcn.004015c3
mov edi, esi
lea eax, [edi + 0x38]
call fcn.0040187a
test eax, eax
jbe 0x40b798
push ecx
mov dword [ebp - 0x88], esp
mov ecx, esp
push dword [ebp - 0x50]
call fcn.0040222a
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.0040b290
pop ecx
pop ecx
push dword [eax]
lea ecx, [ebp - 0x54]
call fcn.004022f5
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x40b798
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x60]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004027ea
mov byte [ebp - 4], 4
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x60], 3
jl 0x40b573
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x40b7ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004027ea
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x40b817
lea esi, [edi + 4]
call fcn.0040be1d
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea esi, [ebp - 0x58]
call fcn.0040c139
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x40b817
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b82d
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x40b83d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x40b84e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004177c2
pop edi
pop esi
pop ebx
leave
ret 4