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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4416ee
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [str.GetTempPathA]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [str.GetTempPathA]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0xf
pop esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], esi
call fcn.00408f84
and dword [esp + 0x200], 0
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
call fcn.00408f84
test edi, edi
mov byte [esp + 0x200], 1
je 0x409be3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409bd8
sub eax, edx
jne 0x409bef
push ebx
lea ecx, [esp + 0x24]
call fcn.00409373
jmp 0x409c43
mov esi, dword [0x449634]
push edi
push 0x403e14
call fcn.0040943c
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.004256a3
add esp, 0xc
test al, al
jne 0x409c1d
push 0x403e3c
call fcn.004092a5
test ebx, ebx
je 0x409c43
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409c26
sub eax, edx
je 0x409c43
lea esi, [esp + 0x20]
call fcn.00423b95
push ebx
mov eax, esi
push eax
call fcn.0040b7e5
mov eax, dword [esp + 0x24]
push 0x10
pop edi
cmp dword [esp + 0x38], edi
jae 0x409c54
lea eax, [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov esi, dword [0x449634]
push ebx
push eax
push 0x403e5c
call fcn.0040943c
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x38], edi
jae 0x409c7b
lea eax, [esp + 0x24]
call fcn.004248f3
test al, al
jne 0x409ce7
cmp dword [esp + 0x38], edi
mov eax, dword [esp + 0x24]
jae 0x409c92
lea eax, [esp + 0x24]
mov esi, dword [0x449634]
push eax
push 0x403e8c
call fcn.0040943c
pop ecx
pop ecx
xor bl, bl
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00408f39
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00408f39
mov al, bl
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.0042b8b7
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x38], edi
mov edi, dword [esp + 0x24]
jae 0x409cf5
lea edi, [esp + 0x24]
lea eax, [esp + 0x3c]
push 0
push eax
xor esi, esi
call fcn.00424d98
test al, al
pop ecx
pop ecx
jne 0x409d20
mov eax, dword [esp + 0x34]
add eax, eax
cmp eax, 0x104
jbe 0x409d20
push 0x403eb0
call fcn.004092a5
mov eax, dword [esp + 0x40]
push 0x10
pop ebx
cmp dword [esp + 0x54], ebx
jae 0x409d31
lea eax, [esp + 0x40]
mov esi, dword [0x449634]
push eax
push 0x403ef4
call fcn.0040943c
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
jae 0x409d52
lea eax, [esp + 0x40]
call fcn.004248d0
test al, al
je 0x409dfe
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xf
call fcn.00408f84
mov edi, dword [esp + 0x18]
mov byte [esp + 0x200], 2
cmp dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x40]
mov dword [edi], 4
jae 0x409d92
lea ecx, [esp + 0x40]
lea eax, [esp + 0x58]
push eax
call fcn.0042415b
test al, al
pop ecx
je 0x409dd3
cmp dword [esp + 0x70], ebx
mov eax, dword [esp + 0x5c]
jae 0x409daf
lea eax, [esp + 0x5c]
mov esi, dword [0x449634]
push eax
push 0x403f14
call fcn.0040943c
cmp dword [esp + 0x78], ebx
mov eax, dword [esp + 0x64]
pop ecx
pop ecx
jae 0x409dd0
lea eax, [esp + 0x5c]
push eax
jmp 0x409de2
push 0x403f2c
call fcn.004092a5
push 0x403f50
lea ecx, [edi + 0x28]
call fcn.0040bdd0
xor ebx, ebx
push 0
inc ebx
lea ecx, [esp + 0x5c]
push ebx
call fcn.00408f39
jmp 0x409ca7
mov ebx, dword [ebp + 0x14]
xor edi, edi
cmp ebx, edi
jg 0x409e33
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x409e16
lea eax, [esp + 0x24]
mov esi, dword [0x449634]
push eax
push dword [esp + 0x18]
push 0x403f54
call fcn.0040943c
add esp, 0xc
jmp 0x409ca5
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
call fcn.00408f84
lea esi, [esp + 0x20]
mov byte [esp + 0x200], 3
call fcn.00423b95
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x409e68
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push 0x403f7c
push eax
call fcn.00424f0a
mov eax, dword [esp + 0x84]
add esp, 0xc
cmp dword [esp + 0x8c], 0x10
jae 0x409e90
lea eax, [esp + 0x78]
lea ecx, [esp + 0xac]
push ecx
push eax
call dword [0x4011e4]
mov esi, eax
cmp esi, 0xffffffff
je 0x409f50
test byte [esp + 0xac], 0x10
je 0x409f39
cmp byte [esp + 0xd8], 0x2e
je 0x409f39
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x94]
call fcn.00408f13
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x208], 4
call fcn.0040b7e5
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x409f08
lea eax, [esp + 0x94]
push dword [esp + 0x18]
lea ecx, [ebx - 1]
push ecx
push edi
push eax
push dword [esp + 0x24]
call fcn.00409b4a
add esp, 0x14
test al, al
jne 0x409f68
push edi
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x208], 3
call fcn.00408f39
lea eax, [esp + 0xac]
push eax
push esi
call dword [0x4011dc]
test eax, eax
jne 0x409eaa
push esi
call dword [0x4011e0]
push edi
push 1
lea ecx, [esp + 0x7c]
call fcn.00408f39
jmp 0x409ca5
push esi
call dword [0x4011e0]
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [esp + 0x98]
call fcn.00408f39
push edi
lea ecx, [esp + 0x78]
jmp 0x409df3