Function at 0x435b65
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa1c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
xor edi, edi
cmp dword [reloc.ole32.dll_CoCreateInstance], 3
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
jne 0x435c96
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
xor eax, eax
cmp dword [0x468434], eax
push 1
sete al
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.0042de1a
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
test eax, eax
jle 0x436089
push 0x403698
push 2
call fcn.004400fc
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test ebx, ebx
je 0x435c16
push 0x400
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x11c
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x435c1f
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x44d
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
inc esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
push 0x44e
push ebx
call edi
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
test eax, eax
je 0x435c61
mov esi, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
xor edi, edi
push dword [ebx + edi*4]
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
inc edi
cmp edi, esi
jl 0x435c3f
mov esi, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
xor edi, edi
cmp dword [ebx + edi*4], 0
je 0x435c83
push dword [ebx + edi*4]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
and dword [ebx + edi*4], 0
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
pop ecx
inc edi
cmp edi, eax
jl 0x435c69
test ebx, ebx
je 0x436089
push ebx
jmp 0x436082
cmp dword [0x4672bc], 0x467188
jne 0x435dbb
mov edi, 0x400
cmp dword [0x4683b0], esi
je 0x435d5b
call fcn.0043df3f
test eax, eax
je 0x435d5b
mov ecx, eax
call fcn.0044f0d9
test eax, eax
je 0x435d5b
call fcn.0042e7d1
test eax, eax
je 0x435d5b
push 0x4036c4
push 2
call fcn.004400fc
test ebx, ebx
je 0x435d58
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x96
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x435d5b
cmp dword [0x4683f0], esi
je 0x435d3e
push 0x800
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov esi, eax
pop ecx
test esi, esi
je 0x435d58
lea edx, reloc.ADVAPI32.dll_TraceMessage
mov eax, edi
call fcn.0042c88c
test eax, eax
jns 0x435d58
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
jmp 0x435d58
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x3ee
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
inc esi
call fcn.0043486d
test eax, eax
jne 0x436089
push 0x4036fc
push 2
call fcn.004400fc
test ebx, ebx
je 0x435db5
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x14d
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x436089
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
jmp 0x436089
call fcn.0042e7d1
test eax, eax
jne 0x435dd1
call fcn.0042e732
test eax, eax
je 0x435e61
push 0x4036c4
push 2
call fcn.004400fc
test ebx, ebx
je 0x435e58
push 0x400
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x96
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x435e61
cmp dword [0x4683f0], esi
je 0x435e3e
push 0x800
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, eax
pop ecx
test edi, edi
je 0x435e58
lea edx, reloc.ADVAPI32.dll_TraceMessage
mov eax, 0x400
mov esi, edi
call fcn.0042c88c
test eax, eax
jns 0x435e58
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor edi, edi
jmp 0x435e58
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x3ee
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
inc esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
push 0xa28
push 5
xor ecx, ecx
pop ebx
call fcn.0044100b
test eax, eax
je 0x435f43
call fcn.0042e652
test eax, eax
je 0x435fa4
push 0x403738
push 2
call fcn.004400fc
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
test ebx, ebx
je 0x435f62
push 0x400
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0xa3
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x435faa
cmp dword [0x4683f0], 0
je 0x435f86
test edi, edi
jne 0x435f0f
push 0x800
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov edi, eax
pop ecx
test edi, edi
je 0x435f07
lea edx, reloc.ADVAPI32.dll_TraceMessage
mov eax, 0x400
mov esi, edi
call fcn.0042c88c
test eax, eax
jns 0x435f07
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor edi, edi
mov esi, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
jmp 0x435f62
push reloc.ole32.dll_CoRegisterClassObject
mov eax, 0x400
call fcn.0042c8f1
test eax, eax
js 0x435f37
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov eax, 0x400
call fcn.0042c8f1
test eax, eax
jns 0x435f62
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor edi, edi
jmp 0x435f62
call fcn.004412f6
test eax, eax
je 0x435fa4
push 0x40376c
push 2
call fcn.004400fc
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
test ebx, ebx
jne 0x435f65
inc esi
jmp 0x435faa
push 0x400
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x97
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x435faa
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x435f62
mov ebx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
cmp esi, 3
jge 0x436010
mov eax, dword [0x4672bc]
cmp eax, 0x467028
je 0x436010
cmp eax, 0x467188
jne 0x436010
push 0x4037a4
push 2
call fcn.004400fc
test ebx, ebx
je 0x43600f
push 0x400
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x98
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x436010
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
cmp dword [0x4683f0], 0
je 0x43607d
test edi, edi
je 0x436089
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x43607d
push 0x4037c8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x43607d
push 0x100
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0xad
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x43607d
movzx eax, byte [0x468a66]
neg eax
sbb eax, eax
and eax, 0x180000
or eax, 0x10
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x436089
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret