Function at 0x4034d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4103d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov byte [esp + 0x6c], 0
cmp dword [esi + 0x1124], edi
je 0x4039f4
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x284]
mov dword [esi + 0x1154], eax
mov eax, dword [esp + 0x288]
lea ebx, [esi + 4]
push 0x416164
push ebx
mov dword [esi + 0x1158], ecx
mov dword [esi + 0x115c], edx
mov dword [esi + 0x1160], eax
call fcn.0040a7e4
add esp, 8
cmp eax, edi
mov dword [esp + 0xc], eax
jne 0x403587
push ebx
push str.Open_file_n__s_n
lea ecx, [esp + 0x74]
push 0x200
push ecx
call fcn.0040a0be
mov eax, dword [0x4181d4]
add esp, 0x10
lea edx, [esp + 0x6c]
push 0x10
push 0x417fd4
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x403965
lea ebx, [esi + 0x3e4]
push ebp
push ebx
call fcn.00403b20
mov eax, dword [esi + 0x1140]
add esp, 4
cmp eax, edi
jne 0x40379c
push ebx
push str._suninst.exe
lea ecx, [esp + 0x78]
push 0x200
push ecx
call fcn.0040a0be
lea edx, [esp + 0x80]
push 0x416248
push edx
call fcn.0040a7e4
mov dword [esi + 0x1140], eax
mov eax, dword [esi + 0x1138]
add esp, 0x18
xor ebp, ebp
cmp eax, edi
jbe 0x403630
sub eax, ebp
cmp eax, 0x200
jbe 0x4035ef
mov eax, 0x200
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x70]
push ecx
push eax
push 1
push edx
call fcn.0040ad94
mov edi, eax
add esp, 0x10
cmp edi, 1
jl 0x40362e
mov eax, dword [esi + 0x1140]
lea ecx, [esp + 0x70]
push eax
push edi
push 1
push ecx
call fcn.0040abfe
mov eax, dword [esi + 0x1138]
add ebp, edi
add esp, 0x10
cmp ebp, eax
jb 0x4035e1
xor edi, edi
mov eax, dword [esi + 0x1140]
push str.productName
push eax
mov ecx, esi
mov dword [esi + 0x113c], 5
call fcn.00403a90
mov edx, dword [esi + 0x1140]
lea ecx, [esi + 0x12c]
push ecx
push edx
mov ecx, esi
call fcn.00403a90
mov eax, dword [esi + 0x1140]
push str.softwareName
push eax
mov ecx, esi
call fcn.00403a90
mov edx, dword [esi + 0x1140]
lea ecx, [esi + 0x16c]
push ecx
push edx
mov ecx, esi
call fcn.00403a90
mov eax, dword [esi + 0x1140]
push str.companyName
push eax
mov ecx, esi
call fcn.00403a90
mov edx, dword [esi + 0x1140]
lea ecx, [esi + 0x18c]
push ecx
push edx
mov ecx, esi
call fcn.00403a90
mov eax, dword [esi + 0x1140]
push str.Platform
push eax
mov ecx, esi
call fcn.00403a90
mov edx, dword [esi + 0x1140]
lea ecx, [esi + 0x1cc]
push ecx
push edx
mov ecx, esi
call fcn.00403a90
mov eax, dword [esi + 0x1140]
push str._ROOT
push eax
mov ecx, esi
call fcn.00403a90
mov ecx, dword [esi + 0x1140]
push ebx
push ecx
mov ecx, esi
call fcn.00403a90
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00404c40
mov eax, dword [esi + 0x1124]
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00404c60
push 0x5c
push 0x2f
push ebx
call fcn.004049a0
mov eax, dword [esi + 0x1160]
add esp, 0xc
cmp eax, edi
pop ebp
je 0x40373b
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x28]
push 4
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00404d00
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
push edi
call fcn.00402b60
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00404d00
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404d00
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x403817
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
jle 0x403956
jmp 0x4037b4
mov edx, dword [esi + 0x1138]
push edi
push edx
push eax
call fcn.0040ad08
add esp, 0xc
jmp 0x403630
xor edi, edi
lea edx, [esp + 0x68]
push 4
push edx
lea ecx, [esp + 0x1c]
call fcn.00404d00
lea eax, [esp + 0x20]
push 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00404d00
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4037f5
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00403c50
test eax, eax
je 0x403803
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x4037dc
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x4037b2
jmp 0x403956
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a4fc
add esp, 4
xor al, al
jmp 0x403965
cmp eax, 0x5a495021
jne 0x403956
push 1
push edi
push edi
lea ecx, [esp + 0x3c]
call fcn.00404d30
push 1
push edi
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x280], edi
call fcn.00404d30
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
mov byte [esp + 0x274], 1
jle 0x403931
jmp 0x40385d
xor edi, edi
lea eax, [esp + 0x1c]
push 4
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], edi
call fcn.00404d00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jge 0x40389c
add eax, 0x400
lea ecx, [esp + 0x30]
push eax
call fcn.00404dd0
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4038cd
sub eax, edi
cmp eax, 0x8000
jle 0x4038ae
mov eax, 0x8000
mov ecx, dword [esp + 0x34]
push eax
add ecx, edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404d00
mov eax, dword [esp + 0x1c]
add edi, 0x8000
cmp edi, eax
jl 0x4038a0
push eax
lea ecx, [esp + 0x34]
call fcn.00404db0
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x30]
push edx
call fcn.00405060
test al, al
je 0x40397f
lea eax, [esp + 0x2c]
push 4
push eax
lea ecx, [esp + 0x54]
call fcn.00404f90
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
jle 0x403924
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.00403c50
test eax, eax
je 0x4039c2
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
jl 0x403907
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x40385b
lea ecx, [esp + 0x4c]
mov byte [esp + 0x274], 0
call fcn.00404da0
lea ecx, [esp + 0x30]
mov dword [esp + 0x274], 0xffffffff
call fcn.00404da0
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a4fc
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x26c
ret 0x10
mov edx, dword [esp + 0xc]
push edx
call fcn.0040a4fc
mov ecx, dword [0x4181d8]
add esp, 4
lea eax, [esp + 0x6c]
push 0x200
push eax
push 0x83
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x4181d4]
push 0x10
lea edx, [esp + 0x70]
push 0x417fd4
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4039cf
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040a4fc
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x274], 0
call fcn.00404da0
lea ecx, [esp + 0x30]
mov dword [esp + 0x274], 0xffffffff
call fcn.00404da0
xor al, al
jmp 0x403965