Function at 0x1035236
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov esi, 0x10a6b60
push esi
call fcn.010327ae
push 0x1004c10
mov dword [0x10a6b80], 0x1002d78
mov dword [0x10a60d8], esi
call fcn.0103287f
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x10352b7
test byte [eax + 0x1c], 1
je 0x10352b7
cmp byte [eax + 0x19], 7
jb 0x10352b7
push dword [ebp + 0x14]
push ebx
push edi
push dword [ebp - 0x214]
push 0x1004894
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103272f
xor edi, edi
mov esi, 0x80004004
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x224], edi
call fcn.0107da1a
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x234]
call fcn.0107d993
lea ecx, [ebp - 0x234]
call fcn.0107d7ff
test eax, eax
je 0x1035319
push 0x1004c00
lea ecx, [ebp - 0x234]
call fcn.0107d826
cmp eax, 0xffffffff
jne 0x103534e
mov edi, esi
mov eax, dword [0x10a60d8]
mov ebx, 0x10a60d8
cmp eax, ebx
je 0x10353fe
test byte [eax + 0x1c], 1
je 0x10353fe
cmp byte [eax + 0x19], 2
jb 0x10353fe
push esi
push 0x1004894
push 0x13
jmp 0x10353f3
push edi
push dword [ebp - 0x214]
mov ecx, 0x10a6b84
push edi
call fcn.01032c5d
mov edi, eax
mov eax, dword [0x10a60d8]
mov ebx, 0x10a60d8
cmp eax, ebx
je 0x1035392
test byte [eax + 0x1c], 1
je 0x1035392
cmp byte [eax + 0x19], 5
jb 0x1035392
push edi
mov esi, 0x1004894
push esi
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
jmp 0x1035397
mov esi, 0x1004894
test edi, edi
jl 0x10353fe
call fcn.01032912
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10353c6
test byte [eax + 0x1c], 1
je 0x10353c6
cmp byte [eax + 0x19], 5
jb 0x10353c6
push edi
push esi
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
test edi, edi
jl 0x10353fe
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov edi, eax
mov dword [ebp - 0x220], edi
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10353fe
test byte [eax + 0x1c], 1
je 0x10353fe
cmp byte [eax + 0x19], 5
jb 0x10353fe
push edi
push esi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
test edi, edi
jl 0x1035970
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [0x10a6bfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x103544f
cmp eax, esi
je 0x103544f
xor esi, esi
jmp 0x1035465
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1035463
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
and dword [ebp - 0x258], 0
or dword [ebp - 0x214], 0xffffffff
push 7
pop ecx
xor eax, eax
and dword [ebp - 0x228], eax
lea edi, [ebp - 0x254]
push 8
rep stosd dword es:[edi], eax
pop edi
test esi, esi
jl 0x1035517
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0x258], 0x20
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x244], 1
call fcn.010194f1
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x10354e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10354e1
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x1035517
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x214]
call fcn.01019521
test eax, eax
je 0x1035501
xor esi, esi
jmp 0x1035517
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1035515
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push 0x10a6af8
push 0x10a6b00
push 0x103267b
push 0x1002cb8
call fcn.010326d2
test esi, esi
jl 0x1035586
push 1
push edi
call fcn.01032b09
mov dword [ebp - 0x218], eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035572
test byte [eax + 0x1c], 1
je 0x1035572
cmp byte [eax + 0x19], 5
jb 0x1035572
push dword [ebp - 0x218]
mov esi, 0x1004894
push esi
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
jmp 0x1035577
mov esi, 0x1004894
cmp dword [ebp - 0x218], 0
jl 0x1035853
jmp 0x103558b
mov esi, 0x1004894
push 2
call fcn.01058da2
mov dword [ebp - 0x218], eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10355c1
test byte [eax + 0x1c], 1
je 0x10355c1
cmp byte [eax + 0x19], 5
jb 0x10355c1
push dword [ebp - 0x218]
push esi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
cmp dword [ebp - 0x218], 0
jl 0x1035853
lea eax, [ebp - 0x210]
push eax
call fcn.01023505
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035606
test byte [eax + 0x1c], 1
je 0x1035606
cmp byte [eax + 0x19], 5
jb 0x1035606
push dword [ebp - 0x210]
push edi
push esi
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010163bb
test edi, edi
jl 0x1035853
mov ecx, dword [ebp - 0x210]
call fcn.0102485b
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x103563f
test byte [eax + 0x1c], 1
je 0x103563f
cmp byte [eax + 0x19], 5
jb 0x103563f
push edi
push esi
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
test edi, edi
jl 0x1035853
call fcn.01023ae1
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035672
test byte [eax + 0x1c], 1
je 0x1035672
cmp byte [eax + 0x19], 5
jb 0x1035672
push edi
push esi
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
test edi, edi
jl 0x1035853
lea eax, [ebp - 0x21c]
push eax
call fcn.01029295
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10356b2
test byte [eax + 0x1c], 1
je 0x10356b2
cmp byte [eax + 0x19], 5
jb 0x10356b2
push dword [ebp - 0x21c]
push edi
push esi
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010163bb
test edi, edi
jl 0x1035853
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x234]
call fcn.01032428
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035704
test byte [eax + 0x1c], 1
je 0x1035704
cmp byte [eax + 0x19], 5
jb 0x1035704
push dword [ebp - 0x224]
push edi
push esi
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010163bb
test edi, edi
jl 0x1035853
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
push dword [ebp - 0x21c]
call fcn.0101fe7e
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035749
test byte [eax + 0x1c], 1
je 0x1035749
cmp byte [eax + 0x19], 5
jb 0x1035749
push edi
push esi
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
test edi, edi
jl 0x1035853
push 0x1f4
push dword [0x10a6bfc]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0x238], eax
test eax, eax
je 0x1035770
xor edi, edi
jmp 0x1035786
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1035784
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10357aa
test byte [eax + 0x1c], 1
je 0x10357aa
cmp byte [eax + 0x19], 5
jb 0x10357aa
push edi
push esi
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
test edi, edi
jl 0x1035853
push dword [ebp - 0x234]
call fcn.010350ec
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10357e6
test byte [eax + 0x1c], 1
je 0x10357e6
cmp byte [eax + 0x19], 5
jb 0x10357e6
push dword [ebp - 0x234]
push esi
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b9c
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1035885
jmp 0x103584d
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.wmpdui.dll_GetMessageExW]
test eax, eax
je 0x1035853
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x274]
push ecx
push dword [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1035847
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x210]
cmp dword [eax + 4], 0
jne 0x10357f6
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x1035885
call fcn.0101fe19
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x1035885
test byte [eax + 0x1c], 1
je 0x1035885
cmp byte [eax + 0x19], 5
jb 0x1035885
push esi
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
mov ecx, dword [ebp - 0x21c]
xor edi, edi
cmp ecx, edi
je 0x10358b9
call fcn.010170ce
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10358b9
test byte [eax + 0x1c], 1
je 0x10358b9
cmp byte [eax + 0x19], 5
jb 0x10358b9
push esi
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
mov ecx, 0x10a6b84
call fcn.010349ff
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10358e6
test byte [eax + 0x1c], 1
je 0x10358e6
cmp byte [eax + 0x19], 5
jb 0x10358e6
push esi
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
cmp dword [ebp - 0x218], edi
jl 0x1035947
call fcn.01058c34
mov ecx, dword [0x10a60d8]
cmp ecx, ebx
je 0x1035918
test byte [ecx + 0x1c], 1
je 0x1035918
cmp byte [ecx + 0x19], 5
jb 0x1035918
push eax
push esi
push 0x24
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010160ad
push 0x1000000
call fcn.010592be
mov ecx, dword [0x10a60d8]
cmp ecx, ebx
je 0x1035947
test byte [ecx + 0x1c], 1
je 0x1035947
cmp byte [ecx + 0x19], 5
jb 0x1035947
push eax
push esi
push 0x25
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010160ad
push 0x10a6af8
call fcn.010326fe
cmp dword [ebp - 0x214], edi
je 0x1035970
push dword [ebp - 0x228]
push edi
call fcn.0101954e
push dword [ebp - 0x214]
call fcn.01032b4e
cmp dword [ebp - 0x220], 0
jl 0x10359a6
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x10a60d8]
cmp eax, ebx
je 0x10359a6
test byte [eax + 0x1c], 1
je 0x10359a6
cmp byte [eax + 0x19], 5
jb 0x10359a6
push 0x1004894
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
call fcn.010328cd
lea ecx, [ebp - 0x234]
call fcn.0107d989
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01039921
leave
ret 0x10