Function at 0x417d20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b4ba
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x44d00c]
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 esi, ecx
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x417ee9
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x3b0
call fcn.0041917e
add esp, 4
mov dword [ebp - 0x14c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00401e40
mov dword [ebp - 4], 0xffffffff
push 0
mov dword [0x44f31c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x44f31c]
mov dword [ecx + 0x320], eax
test esi, esi
je 0x417dc2
xor eax, eax
cmp byte [esi], al
cmove esi, eax
mov dword [ecx + 0x398], esi
movzx eax, byte [0x44d99c]
xor ecx, ecx
sub al, 0x30
xor ebx, ebx
xor edi, edi
mov dword [0x44f324], ebx
cmp al, 0x18
movzx eax, byte [0x44d99d]
sete cl
sub al, 0x30
cmp al, 0x23
movzx eax, byte [0x44d99e]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x20
movzx eax, byte [0x44d99f]
lea ecx, [edx + 1]
cmovne ecx, edx
sub al, 0x30
cmp al, 0x18
movzx eax, byte [0x44d9a0]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x15
movzx eax, byte [0x44d9a1]
lea ecx, [edx + 1]
cmovne ecx, edx
sub al, 0x30
cmp al, 0x14
movzx eax, byte [0x44d9a2]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x4e
movzx eax, byte [0x44d9a3]
lea esi, [edx + 1]
cmovne esi, edx
sub al, 0x30
cmp al, 0x4e
lea ecx, [esi + 1]
cmovne ecx, esi
test ecx, ecx
jne 0x417e96
push str.258560
call fcn.0041fadd
mov edx, dword [0x44f31c]
add esp, 4
movsx ebx, word [0x44d9b6]
movzx ecx, word [0x44d9b9]
mov esi, dword [0x44d9bc]
lea edi, [eax + 0x10000]
mov dword [0x44f324], ebx
mov dword [edx + 0x3a4], ecx
mov dword [edx + 0x3a8], esi
test bl, 2
jne 0x417ecd
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x118]
push 0x20
mov ecx, edx
call fcn.004174c0
lea eax, [ebp - 0x118]
push eax
call fcn.0042449f
add esp, 8
push edi
call fcn.00402400
test eax, eax
je 0x417ef1
push str.Startup_failed.
push 0x443574
call fcn.00417b60
add esp, 8
or eax, 0xffffffff
jmp 0x418531
mov eax, dword [0x44f31c]
mov dword [0x44f320], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor ecx, ecx
mov al, byte [esi]
test al, al
je 0x417f33
nop dword [eax + eax]
inc esi
cmp al, 0x20
jne 0x418243
test ecx, ecx
jne 0x41824a
mov al, byte [esi]
test al, al
je 0x417f33
cmp al, 0x20
jne 0x417f33
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x417f27
mov edi, dword [0x44f320]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417f40
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, dword [edi + 0x368]
sub ecx, 0x18
mov eax, dword [ecx + 0xc]
cmp ebx, dword [ecx + 8]
jle 0x417f70
mov edx, ebx
call fcn.00410450
mov dword [edi + 0x368], eax
mov edi, dword [0x44f320]
push ebx
push esi
push eax
call fcn.0041bdf0
mov eax, dword [0x44e570]
add esp, 0xc
or dword [edi + 0x30c], 0x10
lea edx, [eax + 0x348]
lea ecx, [edx + 0x14]
mov dword [edi + 0x354], 0x417b90
lea esi, [edx + 0x88]
mov dword [edx], 0x60006
cmp ecx, esi
je 0x417fbd
nop word [eax + eax]
add ecx, 4
mov dword [ecx], 0x40f000
cmp ecx, esi
jne 0x417fb0
mov ecx, 4
mov dword [edx + 0x48], 0x4165a0
mov word [edx + 8], cx
lea ecx, [eax + 0x3e8]
mov dword [edx + 0x14], 0x415cc0
mov dword [edx + 0x1c], 0x40f8d0
mov dword [edx + 0x18], 0x415cc0
mov dword [edx + 0x38], 0x40f9d0
mov dword [edx + 0x3c], 0x40fba0
mov dword [edx + 0x40], 0x40f8a0
mov dword [edx + 0x44], fcn.0040f8c0
mov dword [edx + 0x24], 0x416190
mov dword [edx + 0x20], 0x4162e0
mov dword [edx + 0x28], 0x416290
mov dword [edx + 0x2c], 0x415ed0
mov dword [edx + 0x30], 0x415dd0
mov dword [edx + 0x34], 0x415ce0
mov dword [edx + 0x6c], 0x4165d0
mov dword [edx + 0x70], 0x416600
mov dword [edx + 0xc], str.comobj
mov dword [edx + 4], 0xd10001
mov dword [0x44f2f0], edx
lea edx, [eax + 0x45c]
mov dword [eax + 0x3d4], 0x70007
mov dword [ecx], 0x40f000
cmp ecx, edx
je 0x41807d
nop word [eax + eax]
add ecx, 4
mov dword [ecx], 0x40f000
cmp ecx, edx
jne 0x418070
mov ecx, dword [0x44e5d0]
mov esi, 0x10
mov dword [eax + 0x41c], 0x417490
mov dword [eax + 0x3f0], 0x4100c0
mov dword [eax + 0x40c], 0x4101d0
mov dword [eax + 0x410], 0x417480
mov dword [eax + 0x414], 0x40f8a0
mov dword [eax + 0x418], 0x40f8c0
mov dword [eax + 0x3f8], 0x4169f0
mov dword [eax + 0x3f4], 0x417040
mov dword [eax + 0x3fc], 0x416b60
mov dword [eax + 0x400], 0x40f000
mov dword [eax + 0x404], 0x416700
mov dword [eax + 0x408], 0x416630
mov dword [eax + 0x3e0], str.variant
mov dword [eax + 0x3d8], 0xd10001
mov word [eax + 0x3dc], si
cmp dword [0x44e5e0], esi
jg 0x418187
lea ecx, [ecx - 0x18]
mov dword [0x44e5e0], 0x11
mov edx, 0x220
call fcn.00410450
mov ecx, eax
mov eax, dword [0x44e610]
mov dword [0x44e5d0], ecx
mov dword [ecx + 0x200], esi
mov dword [ecx + 0x204], eax
mov eax, dword [eax + 0x36c]
mov dword [ecx + 0x208], eax
mov dword [ecx + 0x20c], 0x405750
mov dword [ecx + 0x210], 0
mov dword [ecx + 0x214], 0
mov dword [ecx + 0x21c], 0
cmp dword [0x44f2b8], 0
lea edi, [ecx + 0x200]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x418295
mov dword [ebp - 0x148], str.atl110.dll
xor esi, esi
mov dword [ebp - 0x144], str.AtlAxWin110
mov dword [ebp - 0x140], str.atl100.dll
mov dword [ebp - 0x13c], str.AtlAxWin100
mov dword [ebp - 0x138], str.atl90.dll
mov dword [ebp - 0x134], str.AtlAxWin90
mov dword [ebp - 0x130], str.atl80.dll
mov dword [ebp - 0x12c], str.AtlAxWin80
mov dword [ebp - 0x128], str.atl71.dll
mov dword [ebp - 0x124], str.AtlAxWin71
mov dword [ebp - 0x120], str.atl.dll
mov dword [ebp - 0x11c], str.AtlAxWin
push dword [ebp + esi*8 - 0x148]
call ebx
mov ecx, eax
mov dword [0x44f2b8], ecx
test ecx, ecx
jne 0x418259
inc esi
cmp esi, 6
jb 0x418220
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x418295
cmp al, 0x22
jne 0x41824a
xor ecx, 1
mov al, byte [esi]
test al, al
jne 0x417f10
jmp 0x417f33
mov eax, dword [ebp + esi*8 - 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AtlAxWinInit
push ecx
mov dword [0x44f2dc], eax
call esi
push str.AtlAxGetControl
push dword [0x44f2b8]
mov dword [0x44f2c0], eax
call esi
mov dword [0x44f2cc], eax
mov eax, dword [0x44f2c0]
test eax, eax
je 0x418295
call eax
push 0x44f2e0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [0x44f2ac], 0
call fcn.00413910
push str.kernel32
call ebx
mov dword [0x44f2b4], eax
test eax, eax
je 0x418300
push str.GetUserDefaultUILanguage
push eax
call esi
mov dword [0x44f2c8], eax
test eax, eax
je 0x418300
call eax
cmp eax, 0x411
jne 0x418300
mov eax, dword [0x44e610]
push str.Japanese
push 0
mov dword [eax + 0x37c], 1
mov word [eax + 0x390], 0x616a
call fcn.00423ca7
add esp, 8
mov edx, dword [edi + 8]
mov ecx, edi
mov eax, dword [edi + 4]
mov dword [0x44f2d0], eax
mov dword [0x44f2bc], edx
mov eax, dword [edx + 0x18]
mov dword [0x44f2d4], eax
mov eax, dword [edx + 0x1c]
mov dword [0x44f2d8], eax
mov dword [edi + 0xc], 0x4132e0
mov dword [edi + 0x10], 0x415910
mov dword [edi + 0x14], 0x415990
call fcn.004127d0
mov eax, dword [0x44e5e0]
cmp eax, 0x11
jg 0x4183bc
mov ecx, dword [0x44e5d0]
mov edx, 0x240
mov dword [0x44e5e0], 0x12
lea ecx, [ecx - 0x18]
call fcn.00410450
mov edx, eax
mov eax, dword [0x44e610]
mov dword [0x44e5d0], edx
mov dword [edx + 0x224], eax
mov dword [edx + 0x220], 0x11
mov eax, dword [eax + 0x36c]
mov dword [edx + 0x228], eax
mov eax, dword [0x44e5e0]
mov dword [edx + 0x22c], 0x405750
mov dword [edx + 0x230], 0
mov dword [edx + 0x234], 0
mov dword [edx + 0x23c], 0
jmp 0x4183c2
mov edx, dword [0x44e5d0]
mov dword [edx + 0x22c], 0x413f20
mov dword [edx + 0x230], 0x415660
cmp eax, 9
jg 0x418443
lea ecx, [edx - 0x18]
mov dword [0x44e5e0], 0xa
mov edx, 0x140
call fcn.00410450
mov edx, eax
mov eax, dword [0x44e610]
mov dword [0x44e5d0], edx
mov dword [edx + 0x120], 9
mov dword [edx + 0x124], eax
mov eax, dword [eax + 0x36c]
mov dword [edx + 0x128], eax
mov dword [edx + 0x12c], 0x405750
mov dword [edx + 0x130], 0
mov dword [edx + 0x134], 0
mov dword [edx + 0x13c], 0
mov ecx, dword [edx + 0x128]
mov eax, dword [edx + 0x124]
mov dword [0x44f330], eax
push 0x8000
mov eax, dword [ecx + 0x18]
mov dword [0x44f338], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x12c], 0x418990
mov dword [edx + 0x134], fcn.0040e450
push 0
mov dword [0x44f33c], eax
mov dword [ecx + 0x14], 0x44f328
mov dword [ecx + 0x48], fcn.0040e450
mov dword [ecx + 0xac], 0x418700
call fcn.00424927
push eax
call fcn.00424bf3
add esp, 8
push eax
call fcn.00424a14
mov ecx, dword [0x44e5d0]
add esp, 8
cmp dword [0x44e5e0], 0xa
jg 0x418525
lea ecx, [ecx - 0x18]
mov dword [0x44e5e0], 0xb
mov edx, 0x160
call fcn.00410450
mov ecx, eax
mov eax, dword [0x44e610]
mov dword [0x44e5d0], ecx
mov dword [ecx + 0x140], 0xa
mov dword [ecx + 0x144], eax
mov eax, dword [eax + 0x36c]
mov dword [ecx + 0x148], eax
mov dword [ecx + 0x14c], 0x405750
mov dword [ecx + 0x150], 0
mov dword [ecx + 0x154], 0
mov dword [ecx + 0x15c], 0
mov dword [ecx + 0x150], 0x418ec0
xor eax, eax
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.00419170
mov esp, ebp
pop ebp
ret