Function at 0x1003a654
Capabilities:
Get file version info
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0x148
mov eax, dword [0x101cb280]
push ebx
xor ebx, ebx
push ebx
push str.660970B4283BC306A13D6D9844CFE5627E81467F38018FCA96EB0C58812546026D29AC1409B3F37FD2B2CA39E9B35055A5C3CDFB866A3CDF9C8AF3B170199D650F7D04245246E410B2624350DE48780A535C793D42314E01519B1918BD48665EAE9C974A219DE72D2FAC4019
mov dword [ebp + 0xc4], eax
nop
nop
nop
nop
nop
push 0x248
mov dword [0x10a1f670], ebx
mov dword [0x10a1f590], ebx
call fcn.101656a0
add esp, 0xc
cmp eax, ebx
je 0x1003a6a1
mov ecx, eax
call fcn.1014240e
jmp 0x1003a6a3
xor eax, eax
mov dword [0x10a1f590], eax
call fcn.1013de6c
push 1
mov ecx, 0x10a20420
call fcn.1013e957
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [0x10a1f674], bl
call fcn.10001141
xor eax, eax
cmp dword [ebp - 0x74], ebx
pop ecx
setne al
pop ecx
mov dword [0x10a19d78], eax
mov eax, dword [ebp - 0x70]
cmp eax, ebx
mov dword [0x10a19d54], eax
jne 0x1003a6ee
push 0x101917bc
jmp 0x1003a717
cmp eax, 1
jne 0x1003a6fa
push 0x101917b8
jmp 0x1003a717
cmp eax, 4
jne 0x1003a706
push str.japanese
jmp 0x1003a717
cmp eax, 5
jne 0x1003a712
push str.chinese_traditional
jmp 0x1003a717
push str.English
push ebx
call fcn.10169eaf
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x60]
push eax
push str._s__s
push dword [ebp + 0xd8]
mov dword [0x10a1f794], ebx
mov byte [0x10a1f798], bl
call fcn.101661c5
lea eax, [ebp + 0x60]
push eax
call fcn.10167dd8
add esp, 0x14
test eax, eax
jne 0x1003a76c
push 0x30
push str.Warning__
push str.You_must_the_game_with_Tantra.exe.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.101694d2
push esi
push edi
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x10191748
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
push eax
mov dword [ebp - 0x78], eax
call fcn.10165988
mov edi, eax
cmp edi, ebx
pop ecx
je 0x1003a7fd
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x1018eea8
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
lea eax, [ebp - 4]
push str._u._u._u._u
push eax
call fcn.10165eb9
push edi
call fcn.1016599a
push 0x10a19d3e
push 0x10a19d3c
push 0x10a19d3a
push 0x10a19d38
lea eax, [ebp - 4]
push str._d._d._d._d
push eax
call fcn.101661c5
add esp, 0x34
call fcn.1013432c
push 0x4b4
call fcn.101656a0
cmp eax, ebx
pop ecx
je 0x1003a81a
mov ecx, eax
call fcn.100554b2
jmp 0x1003a81c
xor eax, eax
push dword [ebp + 0xdc]
mov ecx, eax
push dword [ebp + 0xd8]
mov dword [0x10a1f6a8], eax
push dword [ebp + 0xd4]
push dword [ebp + 0xd0]
call fcn.10055603
push 0xdae8
mov esi, eax
mov dword [0x10a1f594], ebx
call fcn.101656a0
cmp eax, ebx
pop ecx
je 0x1003a860
mov ecx, eax
call fcn.1013d94e
jmp 0x1003a862
xor eax, eax
mov ecx, eax
mov dword [0x10a1f594], eax
call fcn.10044140
cmp esi, ebx
jne 0x1003a8e8
mov ecx, dword [0x10a1f6a8]
call fcn.10055758
mov edi, 0x3de
jmp 0x1003a8c6
cmp ecx, ebx
je 0x1003a89c
mov esi, ecx
call fcn.10147906
push esi
call fcn.10166fb4
pop ecx
mov dword [0x10a1f6bc], ebx
mov ecx, dword [0x10a1f6a8]
call fcn.10134c92
mov ecx, dword [0x10a1f6a8]
call fcn.100558dc
cmp byte [0x10a19d41], 3
je 0x1003a8e8
mov ecx, dword [0x10a1f6a8]
call fcn.10055758
cmp eax, edi
mov ecx, dword [0x10a1f6bc]
jne 0x1003a884
cmp ecx, ebx
je 0x1003a8e8
mov esi, ecx
call fcn.10147906
push esi
call fcn.10166fb4
pop ecx
mov dword [0x10a1f6bc], ebx
mov ecx, dword [0x10a1f594]
cmp ecx, ebx
je 0x1003a906
mov esi, ecx
call fcn.10044140
push esi
call fcn.10166fb4
pop ecx
mov dword [0x10a1f594], ebx
mov ecx, dword [0x10a1f6a8]
call fcn.100569d3
mov ecx, dword [0x10a1f6a8]
cmp ecx, ebx
pop edi
pop esi
je 0x1003a929
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x10a1f6a8], ebx
mov ecx, dword [ebp + 0xc4]
xor eax, eax
pop ebx
call fcn.10165cbe
add ebp, 0xc8
leave
ret 0x10