Function at 0x404760
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x42b599
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov eax, dword [0x437d10]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x254], ebp
mov ecx, 0x10e8e9
xor eax, eax
mov edi, 0x43bcd8
mov byte [esp + 0x254], 1
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
call fcn.00427e25
mov eax, dword [eax + 8]
lea ecx, [esp + 0x4c]
push 0x100
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
call fcn.0042019f
mov ebx, 2
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], bl
call fcn.0041f27c
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041f204
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 3
call fcn.0042026a
lea ecx, [esp + 0x38]
mov byte [esp + 0x254], bl
call fcn.00420131
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14c]
push ecx
push 0x4370c0
push edx
call fcn.004120d1
mov eax, dword [0x8780d0]
add esp, 0xc
cmp eax, 3
jle 0x40489f
push ebp
push ebp
push str.Format:__nTranE_arg1.ini_arg2.txt_narg1_is_INI_file_narg2_is_printed_data_file._n
call fcn.00426f03
push str.Format:__nTranE_arg1.ini_arg2.txt_narg1_is_INI_file_narg2_is_printed_data_file._n
call fcn.004067c0
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 1
call fcn.00420131
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.00420131
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], 0xffffffff
call fcn.00420131
xor eax, eax
jmp 0x404b6c
mov esi, 1
cmp eax, esi
jne 0x404af3
lea eax, [esp + 0x14c]
push str.batch.cmd
push eax
lea ecx, [esp + 0x18]
push 0x4373a0
push ecx
call fcn.0041f616
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.004211b8
mov edx, dword [0x437d10]
mov dword [esp + 0x34], edx
mov ebx, vtable.CFileException.0
or edi, 0xffffffff
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x258], 5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
call fcn.004202ba
lea ecx, [esp + 0x3c]
mov byte [esp + 0x254], 6
call fcn.004215df
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 7
call fcn.004216f1
test eax, eax
jne 0x4049c8
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push str._s_file_not_found_____n
push eax
call fcn.0041f616
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebp
push ebp
push ecx
call fcn.00426f03
mov edx, dword [esp + 0x18]
push edx
call fcn.004067c0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x254], 6
call fcn.00421634
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x254], 8
call fcn.00420131
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 1
call fcn.00420131
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.00420131
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], edi
call fcn.00420131
xor eax, eax
jmp 0x404b6c
lea ecx, [esp + 0x3c]
call fcn.0042190c
mov eax, dword [0x437d10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x254], 9
mov ebp, 0x43bcdc
mov edi, 0x43be6c
push esi
push 0x437384
lea ecx, [esp + 0x24]
push str._s_d
push ecx
call fcn.0041f616
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add esp, 0x10
push edx
push 0xb4
push edi
push 0x43bc08
push eax
push str.Command
call ebx
test eax, eax
je 0x404a43
mov edx, dword [esp + 0x20]
mov dword [ebp], esi
inc edx
add edi, 0x7c0
mov dword [esp + 0x20], edx
add ebp, 4
cmp edi, 0x46c56c
jae 0x404a56
inc esi
lea ecx, [esi - 1]
cmp ecx, 0x64
jl 0x4049f6
jmp 0x404a71
push 0
push 0
push str.Bat_number_out_of_range._n
call fcn.00426f03
push str.Bat_number_out_of_range._n
call fcn.004067c0
add esp, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
mov dword [0x43bcd8], edx
mov byte [esp + 0x254], 7
call fcn.00420131
lea ecx, [esp + 0x3c]
mov byte [esp + 0x254], 6
call fcn.00421634
mov dword [esp + 0x24], vtable.CFileException.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x254], 0xa
call fcn.00420131
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 1
call fcn.00420131
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.00420131
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], 0xffffffff
call fcn.00420131
mov eax, 1
jmp 0x404b6c
cmp eax, ebx
mov eax, dword [0x8780d4]
mov dword [0x43bcd8], esi
jne 0x404b1a
mov ecx, dword [eax + 4]
push ecx
push str.TranE__s
push 0x43be6c
call fcn.004120d1
add esp, 0xc
jmp 0x404b34
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
push eax
push str.TranE__s__s
push 0x43be6c
call fcn.004120d1
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 1
call fcn.00420131
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.00420131
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], 0xffffffff
call fcn.00420131
mov eax, esi
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret