Function at 0x402a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x40a084]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push esi
push edi
sub esp, 8
call fcn.004083f9
test byte [0x40a5c0], 1
je 0x402a35
call fcn.0040849d
push 0x40a494
call dword [0x40b09c]
mov ebx, 1
mov byte [esp + 0xf], 0
call fcn.00402738
call dword [0x40b148]
test eax, eax
js 0x4030fa
lea eax, [esp + 0x20]
push eax
call dword [0x40b130]
test eax, eax
jns 0x402a9c
mov eax, dword [0x401274]
mov esi, dword [0x40126c]
mov edi, dword [0x401270]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, dword [0x401278]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
jmp 0x402ab4
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
call dword [sym.imp.msIso.dll_Ordinal_207]
mov ecx, dword [esp + 0x10]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
call dword [sym.imp.msIso.dll_Ordinal_207]
mov byte [eax + 0x10], bl
call dword [0x40b068]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00404211
push 0
push 1
push 0x401738
call dword [0x40b144]
test eax, eax
js 0x403039
push 0
push 0
push 4
lea eax, [esp + 0x40]
push eax
push 1
push 0
push dword [0x4010e4]
call dword [0x40b154]
test eax, eax
js 0x402b26
cmp dword [esp + 0x34], 0
jne 0x402b2e
push 1
call dword [0x40b030]
mov eax, dword [section..data]
test eax, eax
je 0x402b5a
push eax
call dword [0x40b14c]
mov ecx, eax
test ecx, ecx
js 0x402ba8
xor eax, eax
test ecx, ecx
sete al
mov dword [0x40a004], eax
mov dword [section..data], 0
cmp dword [0x40a004], 0
je 0x402ba8
push 0x401708
call dword [0x40b024]
test eax, eax
je 0x402b9d
push 0x401724
push eax
call dword [0x40b00c]
mov edi, eax
test edi, edi
je 0x402b9d
mov esi, esp
mov ecx, edi
push 1
call dword [0x40b1f0]
call edi
cmp esi, esp
je 0x402b9d
mov ecx, 4
int 0x29
push 0x40127c
call dword [0x40b06c]
push 1
call dword [0x40b0a0]
lea ecx, [esp + 0x10]
call fcn.00403160
push 0
push 0
push 1
push 0
mov edi, eax
call dword [0x40b048]
call fcn.00404d2d
push 0x10000031
call dword [0x40b140]
test al, al
mov eax, 0x401280
jne 0x402be7
mov eax, 0x4012c8
push eax
call dword [sym.imp.api_ms_win_downlevel_shell32_l1_1_0.dll_SetCurrentProcessExplicitAppUserModelID]
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402bf3
sub edx, ecx
mov ecx, edi
sar edx, 1
push 1
push 0x40175c
inc edx
call fcn.004033f0
test al, al
je 0x402c27
call fcn.00403360
call dword [sym.imp.IEFRAME.dll_Ordinal_212]
xor ebx, ebx
jmp 0x403025
push 0x401670
push edi
call dword [0x40b138]
mov esi, eax
test esi, esi
je 0x402ce3
mov ecx, 7
call fcn.004084c9
movzx eax, word [esi + eax*2]
test ax, ax
je 0x402c59
cmp eax, 0x20
jne 0x402ce3
cmp esi, edi
je 0x402c64
cmp word [esi - 2], 0x20
jne 0x402ce3
xor esi, esi
mov dword [esp + 0x18], 0x80004005
mov edi, edi
push 0
push 0x401680
push esi
push 0
call dword [0x40b0fc]
mov esi, eax
test esi, esi
je 0x402cad
lea eax, [esp + 0x38]
push eax
push esi
call dword [0x40b0f4]
push dword [esp + 0x38]
call dword [0x40b0f8]
mov ecx, esi
call fcn.0040906e
mov dword [esp + 0x18], eax
test eax, eax
js 0x402c70
jmp 0x402cb5
mov eax, dword [esp + 0x18]
test eax, eax
js 0x402ce3
mov edx, edi
lea ecx, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402cc0
sub edx, ecx
mov ecx, edi
sar edx, 1
push 1
push 0x401670
inc edx
call fcn.004033f0
jmp 0x403025
push 7
push 0x401650
push edi
call dword [0x40b19c]
add esp, 0xc
test eax, eax
jne 0x402d92
movzx eax, word [edi + 0xe]
lea esi, [edi + 0xe]
push eax
call dword [0x40b170]
add esp, 4
test eax, eax
jne 0x402d2c
cmp word [esi], 0
je 0x402d2c
movzx eax, word [esi + 2]
add esi, 2
push eax
call dword [0x40b170]
add esp, 4
test eax, eax
je 0x402d11
movzx eax, word [esi]
push eax
call dword [0x40b170]
add esp, 4
test eax, eax
je 0x402d55
lea ecx, [ecx]
movzx eax, word [esi + 2]
add esi, 2
push eax
call dword [0x40b170]
add esp, 4
test eax, eax
jne 0x402d40
push 7
push 0x401660
push esi
call dword [0x40b19c]
add esp, 0xc
test eax, eax
jne 0x402d92
cmp dword [esp + 0x10], eax
jne 0x402d88
call fcn.004032f0
push dword [ebp + 0x14]
mov byte [esp + 0x13], bl
push edi
call dword [sym.imp.IEFRAME.dll_Ordinal_251]
jmp 0x403023
mov ebx, 5
jmp 0x403025
lea eax, [esp + 0xbc]
push eax
call dword [0x40b0e8]
lea eax, [esp + 0x3c]
push eax
call dword [0x40b088]
push eax
call dword [0x40b038]
test eax, eax
je 0x402fbc
cmp dword [esp + 0x3c], 0
je 0x402fbc
cmp word [esp + 0xbc], 0xc
je 0x402fbc
call fcn.00408f90
sub esp, 8
lea ecx, [esp + 0xe8]
call fcn.004093c8
test al, al
je 0x403025
xor eax, eax
mov dword [esp + 0x64], 0
mov word [esp + 0xa2], ax
lea edx, [esp + 0xe0]
mov eax, ebx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [edx + 2]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x92], 0
mov dword [esp + 0x96], 0
mov dword [esp + 0x9a], 0
mov dword [esp + 0x9e], 0
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x8c], ebx
mov word [esp + 0x90], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402ea2
sub edx, ecx
sar edx, 1
test edi, edi
je 0x402ed1
mov ecx, edi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402ec0
sub ecx, esi
sar ecx, 1
jmp 0x402ed3
xor ecx, ecx
lea eax, [ecx + 4]
xor ecx, ecx
add eax, edx
mov edx, 2
mov dword [esp + 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004036ed
mov esi, eax
add esp, 4
test esi, esi
je 0x403025
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0x4017d8
call fcn.0040913c
test eax, eax
js 0x402fb1
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xe0]
push eax
mov ecx, esi
call fcn.004090b9
test eax, eax
js 0x402fb1
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0x4017dc
call fcn.004090b9
test eax, eax
js 0x402fb1
mov edx, dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.004090b9
test eax, eax
js 0x402fb1
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x64]
push eax
push 0
push 0
push 0x200
push 0
push 0
push 0
push esi
lea eax, [esp + 0x104]
push eax
call dword [0x40b020]
test eax, eax
je 0x402fb1
push 0xea60
push dword [esp + 0xb0]
call dword [0x40b10c]
push dword [esp + 0xac]
call dword [0x40b0dc]
push dword [esp + 0xb0]
call dword [0x40b0dc]
push esi
call fcn.004036e3
add esp, 4
jmp 0x403025
push 0x4017e4
push edi
call dword [0x40b138]
mov esi, eax
test esi, esi
je 0x403013
mov ecx, 0xa
call fcn.004084c9
movzx eax, word [esi + eax*2]
test ax, ax
je 0x402fe6
cmp eax, 0x20
jne 0x403013
cmp esi, edi
je 0x402ff1
cmp word [esi - 2], 0x20
jne 0x403013
mov edx, 0x4017fc
mov ecx, edi
call fcn.00403590
test al, al
je 0x403013
push dword [esp + 0x10]
push 1
push dword [ebp + 0x14]
push edi
call dword [sym.imp.IEFRAME.dll_Ordinal_258]
jmp 0x403023
push dword [esp + 0x10]
push 1
push dword [ebp + 0x14]
push edi
call dword [sym.imp.IEFRAME.dll_Ordinal_255]
mov ebx, eax
push edi
call dword [0x40b02c]
cmp byte [esp + 0xf], 0
jne 0x4030fc
jmp 0x40303b
xor ebx, ebx
push 0
push 0
push 4
lea eax, [esp + 0x50]
push eax
push 1
push 1
push dword [0x4010dc]
call dword [0x40b154]
push 0
push 0
push 4
lea eax, [esp + 0x4c]
push eax
push 1
push 1
push dword [0x4010e0]
call dword [0x40b154]
cmp dword [0x40a008], 5
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov byte [esi + 1], 1
jbe 0x4030f4
sub esp, 8
call fcn.0040282a
test al, al
je 0x4030f4
mov ecx, dword [esp + 0x40]
xor eax, eax
or eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x17], 1
call dword [sym.imp.msIso.dll_Ordinal_207]
push 0x10000003
mov dword [esp + 0x54], eax
call dword [0x40b150]
mov dword [esp + 0x54], eax
mov edx, 0x401dfb
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
sub esp, 8
call fcn.004025df
mov byte [esi + 1], 0
jmp 0x4030fc
xor ebx, ebx
push 0x40a494
call dword [0x40b014]
call fcn.00408424
call fcn.00402772
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ecx
call fcn.00406d79
cmp dword [esp + 0x1c], 0
je 0x403139
push ebx
call dword [0x40b088]
push eax
call dword [0x40b094]
mov ecx, dword [esp + 0x2ec]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403a90
mov esp, ebp
pop ebp
ret 0x10