Function at 0x4147a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4388c5
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x44900c]
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 0x414969
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x3b0
call fcn.00415fda
add esp, 4
mov dword [ebp - 0x14c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00401920
mov dword [ebp - 4], 0xffffffff
push 0
mov dword [0x44b410], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x44b410]
mov dword [ecx + 0x320], eax
test esi, esi
je 0x414842
xor eax, eax
cmp byte [esi], al
cmove esi, eax
mov dword [ecx + 0x398], esi
movzx eax, byte [0x4498e8]
xor ecx, ecx
sub al, 0x30
xor ebx, ebx
xor edi, edi
mov dword [0x44b418], ebx
cmp al, 0x18
movzx eax, byte [0x4498e9]
sete cl
sub al, 0x30
cmp al, 0x23
movzx eax, byte [0x4498ea]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x20
movzx eax, byte [0x4498eb]
lea ecx, [edx + 1]
cmovne ecx, edx
sub al, 0x30
cmp al, 0x18
movzx eax, byte [0x4498ec]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x15
movzx eax, byte [0x4498ed]
lea ecx, [edx + 1]
cmovne ecx, edx
sub al, 0x30
cmp al, 0x14
movzx eax, byte [0x4498ee]
lea edx, [ecx + 1]
cmovne edx, ecx
sub al, 0x30
cmp al, 0x4e
movzx eax, byte [0x4498ef]
lea esi, [edx + 1]
cmovne esi, edx
sub al, 0x30
cmp al, 0x4e
lea ecx, [esi + 1]
cmovne ecx, esi
test ecx, ecx
jne 0x414916
push str.245760
call fcn.0041d45d
mov edx, dword [0x44b410]
add esp, 4
movsx ebx, word [0x449902]
movzx ecx, word [0x449905]
mov esi, dword [0x449908]
lea edi, [eax + 0x10000]
mov dword [0x44b418], ebx
mov dword [edx + 0x3a4], ecx
mov dword [edx + 0x3a8], esi
test bl, 2
jne 0x41494d
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.00413ed0
lea eax, [ebp - 0x118]
push eax
call fcn.004219d5
add esp, 8
push edi
call fcn.00401ce0
test eax, eax
je 0x414971
push str.Startup_failed.
push 0x43ff94
call fcn.004145e0
add esp, 8
or eax, 0xffffffff
jmp 0x414fb1
mov eax, dword [0x44b410]
mov dword [0x44b414], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor ecx, ecx
mov al, byte [esi]
test al, al
je 0x4149b3
nop dword [eax + eax]
inc esi
cmp al, 0x20
jne 0x414cc3
test ecx, ecx
jne 0x414cca
mov al, byte [esi]
test al, al
je 0x4149b3
cmp al, 0x20
jne 0x4149b3
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4149a7
mov edi, dword [0x44b414]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4149c0
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 0x4149f0
mov edx, ebx
call fcn.0040d680
mov dword [edi + 0x368], eax
mov edi, dword [0x44b414]
push ebx
push esi
push eax
call fcn.00419260
mov ecx, dword [0x44a4a8]
add esp, 0xc
or dword [edi + 0x30c], 0x10
lea edx, [ecx + 0x348]
lea eax, [edx + 0x14]
mov dword [edi + 0x354], 0x414610
lea esi, [edx + 0x88]
mov dword [edx], 0x60006
mov dword [eax], 0x40c090
cmp eax, esi
je 0x414a3e
add eax, 4
mov dword [eax], 0x40c090
cmp eax, esi
jne 0x414a31
mov eax, 4
mov dword [edx + 0x48], 0x412f90
mov word [edx + 8], ax
lea eax, [ecx + 0x3e8]
mov dword [edx + 0x14], 0x412830
mov dword [edx + 0x1c], 0x40cb00
mov dword [edx + 0x18], 0x412830
mov dword [edx + 0x38], 0x40cc00
mov dword [edx + 0x3c], 0x40cdd0
mov dword [edx + 0x40], 0x40cad0
mov dword [edx + 0x44], fcn.0040caf0
mov dword [edx + 0x24], 0x412c80
mov dword [edx + 0x20], 0x412d60
mov dword [edx + 0x28], 0x412d10
mov dword [edx + 0x2c], 0x412a40
mov dword [edx + 0x30], 0x412940
mov dword [edx + 0x34], 0x412850
mov dword [edx + 0x6c], 0x412fc0
mov dword [edx + 0x70], 0x412ff0
mov dword [edx + 0xc], str.comobj
mov dword [edx + 4], 0xd10001
mov dword [0x44b3d4], edx
lea edx, [ecx + 0x45c]
mov dword [ecx + 0x3d4], 0x70007
mov dword [eax], 0x40c090
cmp eax, edx
je 0x414afd
nop dword [eax + eax]
add eax, 4
mov dword [eax], 0x40c090
cmp eax, edx
jne 0x414af0
mov esi, 0x10
mov dword [ecx + 0x41c], 0x413e30
mov dword [ecx + 0x3f0], 0x40d2f0
mov dword [ecx + 0x40c], 0x40d400
mov dword [ecx + 0x410], 0x413e20
mov dword [ecx + 0x414], 0x40cad0
mov dword [ecx + 0x418], 0x40caf0
mov dword [ecx + 0x3f8], 0x4133e0
mov dword [ecx + 0x3f4], 0x413a30
mov dword [ecx + 0x3fc], 0x413550
mov dword [ecx + 0x400], 0x40c090
mov dword [ecx + 0x404], 0x4130f0
mov dword [ecx + 0x408], 0x413020
mov dword [ecx + 0x3e0], str.variant
mov dword [ecx + 0x3d8], 0xd10001
mov word [ecx + 0x3dc], si
mov ecx, dword [0x44a6d0]
cmp dword [0x44a6e0], esi
jg 0x414c07
lea ecx, [ecx - 0x18]
mov dword [0x44a6e0], 0x11
mov edx, 0x220
call fcn.0040d680
mov ecx, eax
mov eax, dword [0x44a70c]
mov dword [0x44a6d0], 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], 0x404e50
mov dword [ecx + 0x210], 0
mov dword [ecx + 0x214], 0
mov dword [ecx + 0x21c], 0
cmp dword [0x44b3ac], 0
lea edi, [ecx + 0x200]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x414d15
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 [0x44b3ac], ecx
test ecx, ecx
jne 0x414cd9
inc esi
cmp esi, 6
jb 0x414ca0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x414d15
cmp al, 0x22
jne 0x414cca
xor ecx, 1
mov al, byte [esi]
test al, al
jne 0x414990
jmp 0x4149b3
mov eax, dword [ebp + esi*8 - 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AtlAxWinInit
push ecx
mov dword [0x44b3d0], eax
call esi
push str.AtlAxGetControl
push dword [0x44b3ac]
mov dword [0x44b3b4], eax
call esi
mov dword [0x44b3c0], eax
mov eax, dword [0x44b3b4]
test eax, eax
je 0x414d15
call eax
push 0x44b3d8
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [0x44b3a0], 0
call fcn.00410a80
push str.kernel32
call ebx
mov dword [0x44b3a8], eax
test eax, eax
je 0x414d80
push str.GetUserDefaultUILanguage
push eax
call esi
mov dword [0x44b3bc], eax
test eax, eax
je 0x414d80
call eax
cmp eax, 0x411
jne 0x414d80
mov eax, dword [0x44a70c]
push str.Japanese
push 0
mov dword [eax + 0x37c], 1
mov word [eax + 0x390], 0x616a
call fcn.00420fa7
add esp, 8
mov edx, dword [edi + 8]
mov ecx, edi
mov eax, dword [edi + 4]
mov dword [0x44b3c4], eax
mov dword [0x44b3b0], edx
mov eax, dword [edx + 0x18]
mov dword [0x44b3c8], eax
mov eax, dword [edx + 0x1c]
mov dword [0x44b3cc], eax
mov dword [edi + 0xc], 0x410470
mov dword [edi + 0x10], 0x412420
mov dword [edi + 0x14], 0x412500
call fcn.0040fb00
mov eax, dword [0x44a6e0]
cmp eax, 0x11
jg 0x414e3c
mov ecx, dword [0x44a6d0]
mov edx, 0x240
mov dword [0x44a6e0], 0x12
lea ecx, [ecx - 0x18]
call fcn.0040d680
mov edx, eax
mov eax, dword [0x44a70c]
mov dword [0x44a6d0], edx
mov dword [edx + 0x224], eax
mov dword [edx + 0x220], 0x11
mov eax, dword [eax + 0x36c]
mov dword [edx + 0x228], eax
mov eax, dword [0x44a6e0]
mov dword [edx + 0x22c], 0x404e50
mov dword [edx + 0x230], 0
mov dword [edx + 0x234], 0
mov dword [edx + 0x23c], 0
jmp 0x414e42
mov edx, dword [0x44a6d0]
mov dword [edx + 0x22c], 0x411140
mov dword [edx + 0x230], 0x412100
cmp eax, 9
jg 0x414ec3
lea ecx, [edx - 0x18]
mov dword [0x44a6e0], 0xa
mov edx, 0x140
call fcn.0040d680
mov edx, eax
mov eax, dword [0x44a70c]
mov dword [0x44a6d0], 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], 0x404e50
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 [0x44b424], eax
push 0x8000
mov eax, dword [ecx + 0x18]
mov dword [0x44b42c], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x12c], 0x415640
mov dword [edx + 0x134], fcn.0040b580
push 0
mov dword [0x44b430], eax
mov dword [ecx + 0x14], 0x44b41c
mov dword [ecx + 0x48], fcn.0040b580
mov dword [ecx + 0xac], 0x415380
call fcn.00421e5d
push eax
call fcn.00422129
add esp, 8
push eax
call fcn.00421f4a
mov ecx, dword [0x44a6d0]
add esp, 8
cmp dword [0x44a6e0], 0xa
jg 0x414fa5
lea ecx, [ecx - 0x18]
mov dword [0x44a6e0], 0xb
mov edx, 0x160
call fcn.0040d680
mov ecx, eax
mov eax, dword [0x44a70c]
mov dword [0x44a6d0], 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], 0x404e50
mov dword [ecx + 0x150], 0
mov dword [ecx + 0x154], 0
mov dword [ecx + 0x15c], 0
mov dword [ecx + 0x150], 0x415aa0
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.00415dc0
mov esp, ebp
pop ebp
ret