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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9e4
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x9e0], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x3c], ebx
call fcn.005306b0
add esp, 0xc
push 0x3ff
lea eax, [esp + 0x185]
push ebx
push eax
mov byte [esp + 0x18c], bl
call fcn.005306b0
add esp, 0xc
push 0x463
lea eax, [esp + 0x585]
push ebx
push eax
mov byte [esp + 0x58c], bl
call fcn.005306b0
add esp, 0xc
push 0x103
lea eax, [esp + 0x7d]
push ebx
push eax
mov byte [esp + 0x84], bl
call fcn.005306b0
mov edx, dword [ebp + 8]
mov word [esp + 0x2c], bx
xor eax, eax
lea edi, [esp + 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
call fcn.004ccc0d
test eax, eax
je 0x4130eb
xor eax, eax
jmp 0x41329e
call fcn.00493572
test eax, eax
je 0x4130fc
xor eax, eax
inc eax
jmp 0x41329e
lea eax, [esp + 0x78]
push str.PaulaSpeak.exe
push eax
call fcn.00493030
pop ecx
pop ecx
lea edi, [esp + 0x78]
call fcn.00432263
test eax, eax
je 0x4130e4
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [esp + 0x24], 6
je 0x4130e4
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov edi, 0x400
push 0xffffffffffffffff
lea eax, [esp + 0x18c]
push edi
push eax
mov dword [esp + 0x20], 1
call fcn.00532ab5
add esp, 0x14
mov esi, str._306_
jmp 0x41316e
mov byte [eax], 0x33
mov byte [eax + 1], 0x20
mov byte [eax + 2], 0x6f
mov byte [eax + 3], 0x20
mov byte [eax + 4], 0x36
lea eax, [esp + 0x180]
push esi
push eax
call fcn.00531210
cmp eax, ebx
pop ecx
pop ecx
jne 0x41315b
mov esi, str._241_
jmp 0x41319c
mov byte [eax], 0x20
mov byte [eax + 1], 0x32
mov byte [eax + 2], 0x20
mov byte [eax + 3], 0x34
mov byte [eax + 4], 0x31
lea eax, [esp + 0x180]
push esi
push eax
call fcn.00531210
cmp eax, ebx
pop ecx
pop ecx
jne 0x413189
mov esi, str._111_
jmp 0x4131ca
mov byte [eax], 0x20
mov byte [eax + 1], 0x31
mov byte [eax + 2], 0x20
mov byte [eax + 3], 0x31
mov byte [eax + 4], 0x31
lea eax, [esp + 0x180]
push esi
push eax
call fcn.00531210
cmp eax, ebx
pop ecx
pop ecx
jne 0x4131b7
push ebx
push str.PURDY_OFFICE
push str.PURDYOFFICE
lea eax, [esp + 0x18c]
push edi
push eax
call fcn.004ce6a0
add esp, 0x14
push 0xc
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x58c]
push str.__s___tts___s___e__d
push eax
call fcn.00531b2f
add esp, 0x14
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], bx
call fcn.00493030
pop ecx
pop ecx
push eax
lea eax, [esp + 0x588]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x40]
call fcn.004175d9
add esp, 0x10
test eax, eax
jne 0x413288
push 0xc
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x80]
push eax
push str.:7:PaulaSpeak___FAILED_to_start_the_Paula_Synthesizer_Process:____s___tts___s___e__d_:__GetLastError_
call fcn.0042b70b
add esp, 0x10
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x14]
call fcn.00435716
mov edi, dword [esp + 0x10]
call fcn.00435716
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret