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

Disassembly:
push 0xffffffffffffffff
push 0x44d1d9
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [esp + 0x320]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x324]
xor ebp, ebp
mov dword [esp + 0x40], eax
cmp eax, ebp
je 0x40683c
add eax, 4
jmp 0x40683e
xor eax, eax
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x218], cx
mov ebx, 7
push ebp
lea ecx, [esp + 0x218]
mov dword [esp + 0x230], ebx
mov dword [esp + 0x22c], ebp
call fcn.00401670
mov edi, vtable.TString.0
mov dword [esp + 0x20c], edi
mov dword [esp + 0x318], ebp
xor edx, edx
mov dword [esp + 0x208], ebx
mov dword [esp + 0x204], ebp
mov word [esp + 0x1f4], dx
mov dword [esp + 0x1ec], edi
lea eax, [esp + 0x20c]
push eax
mov byte [esp + 0x31c], 1
call fcn.0040bf00
xor ecx, ecx
push 8
mov eax, 0x45a550
lea esi, [esp + 0x234]
mov dword [esp + 0x24c], ebx
mov dword [esp + 0x248], ebp
mov word [esp + 0x238], cx
call fcn.00401760
mov dword [esp + 0x22c], edi
mov byte [esp + 0x318], 2
xor edx, edx
push 6
mov eax, str._TEMP_
lea esi, [esp + 0x254]
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x268], ebp
mov word [esp + 0x258], dx
call fcn.00401760
mov dword [esp + 0x24c], edi
mov byte [esp + 0x318], 3
xor eax, eax
mov word [esp + 0x274], ax
push 0xa
mov eax, str._HOMEPATH_
lea esi, [esp + 0x274]
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x288], ebp
call fcn.00401760
mov dword [esp + 0x26c], edi
mov byte [esp + 0x318], 4
xor ecx, ecx
push 9
mov eax, str._APPDATA_
lea esi, [esp + 0x294]
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2a8], ebp
mov word [esp + 0x298], cx
call fcn.00401760
mov dword [esp + 0x28c], edi
mov byte [esp + 0x318], 5
xor edx, edx
push 0xe
mov eax, str._PROGRAMFILES_
lea esi, [esp + 0x2b4]
mov dword [esp + 0x2cc], ebx
mov dword [esp + 0x2c8], ebp
mov word [esp + 0x2b8], dx
call fcn.00401760
mov dword [esp + 0x2ac], edi
mov byte [esp + 0x318], 6
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x2e4], ebp
xor eax, eax
mov word [esp + 0x2d4], ax
push 9
mov eax, str._DESTDIR_
lea esi, [esp + 0x2d4]
call fcn.00401760
mov dword [esp + 0x2cc], edi
mov byte [esp + 0x318], bl
xor ecx, ecx
push 9
mov eax, str._DESKTOP_
lea esi, [esp + 0x2f4]
mov dword [esp + 0x30c], ebx
mov dword [esp + 0x308], ebp
mov word [esp + 0x2f8], cx
call fcn.00401760
mov dword [esp + 0x2ec], edi
mov byte [esp + 0x318], 8
mov dword [esp + 0x1c], ebp
lea esi, [esp + 0x230]
lea eax, [esi - 4]
neg eax
sbb eax, eax
and eax, esi
cmp dword [eax + 0x18], 8
mov ebx, dword [eax + 0x14]
jb 0x406a68
mov eax, dword [eax + 4]
jmp 0x406a6b
add eax, 4
push eax
xor eax, eax
lea edx, [esp + 0x214]
call fcn.00407290
cmp eax, 0xffffffff
jne 0x406a95
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x20
cmp eax, 7
mov dword [esp + 0x1c], eax
jl 0x406a51
jmp case.default.0x406c21
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
shl edx, 5
mov ecx, dword [esp + edx + 0x244]
add ebx, 4
lea edx, [ecx + eax]
push ebx
or ecx, 0xffffffff
lea esi, [esp + 0x48]
call fcn.00401640
mov byte [esp + 0x318], 9
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x2c], cx
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebp
call fcn.00401670
mov dword [esp + 0x20], edi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x320], 0xa
call fcn.00401670
mov esi, 8
mov dword [esp + 0x20], edi
cmp dword [esp + 0x3c], esi
jb 0x406b1c
mov edx, dword [esp + 0x28]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov byte [esp + 0x318], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
cmp dword [esp + 0x5c], esi
jb 0x406b4a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438e12
add esp, 4
mov eax, dword [esp + 0x1f4]
cmp dword [esp + 0x208], esi
jae 0x406b61
lea eax, [esp + 0x1f4]
cmp word [eax], 0x5c
jne 0x406c14
lea edx, [esp + 0x1f0]
push edx
or ecx, 0xffffffff
mov edx, 1
lea esi, [esp + 0x48]
call fcn.00401640
mov byte [esp + 0x318], 0xb
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x2c], cx
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebp
call fcn.00401670
mov dword [esp + 0x20], edi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x320], 0xc
call fcn.00401670
mov esi, 8
mov dword [esp + 0x20], edi
cmp dword [esp + 0x3c], esi
jb 0x406be6
mov edx, dword [esp + 0x28]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov byte [esp + 0x318], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
cmp dword [esp + 0x5c], esi
jb 0x406c14
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00438e12
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 6
ja case.default.0x406c21
jmp dword [eax*4 + 0x407270]
mov eax, dword [esp + 0x18]
lea edx, [eax + 4]
test edx, edx
je 0x406c38
add eax, 8
jmp 0x406c3a
xor eax, eax
lea ecx, [esp + 0x1f0]
push ecx
push eax
lea edi, [esp + 0x144]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0xd
push 0xffffffffffffffff
xor edx, edx
mov edi, 7
push ebp
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebp
mov word [esp + 0xb0], dx
call fcn.00401670
mov esi, vtable.TString.0
mov dword [esp + 0xa0], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xac]
mov ecx, ebx
mov byte [esp + 0x320], 0xe
call fcn.00401670
mov dword [esp + 0xa0], esi
mov esi, 8
cmp dword [esp + 0xbc], esi
jb 0x406cd0
mov eax, dword [esp + 0xa8]
push eax
call fcn.00438e12
add esp, 4
xor ecx, ecx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebp
mov word [esp + 0xa8], cx
cmp dword [esp + 0x154], esi
jb 0x4071c0
mov edx, dword [esp + 0x140]
push edx
jmp 0x4071b8
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x24]
test ecx, ecx
je 0x406d12
add eax, 0x28
jmp 0x406d14
xor eax, eax
lea edx, [esp + 0x1f0]
push edx
push eax
lea edi, [esp + 0x160]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0xf
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0xec], cx
mov edi, 7
push ebp
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebp
call fcn.00401670
mov esi, vtable.TString.0
mov dword [esp + 0xe0], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xec]
mov ecx, ebx
mov byte [esp + 0x320], 0x10
call fcn.00401670
mov dword [esp + 0xe0], esi
mov esi, 8
cmp dword [esp + 0xfc], esi
jb 0x406daa
mov edx, dword [esp + 0xe8]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebp
mov word [esp + 0xe8], ax
cmp dword [esp + 0x170], esi
jb 0x4071c0
mov ecx, dword [esp + 0x15c]
push ecx
jmp 0x4071b8
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x44]
test edx, edx
je 0x406dec
add eax, 0x48
jmp 0x406dee
xor eax, eax
lea ecx, [esp + 0x1f0]
push ecx
push eax
lea edi, [esp + 0x198]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0x11
push 0xffffffffffffffff
xor edx, edx
mov edi, 7
push ebp
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], dx
call fcn.00401670
mov esi, vtable.TString.0
mov dword [esp + 0x80], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x8c]
mov ecx, ebx
mov byte [esp + 0x320], 0x12
call fcn.00401670
mov dword [esp + 0x80], esi
mov esi, 8
cmp dword [esp + 0x9c], esi
jb 0x406e84
mov eax, dword [esp + 0x88]
push eax
call fcn.00438e12
add esp, 4
xor ecx, ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebp
mov word [esp + 0x88], cx
cmp dword [esp + 0x1a8], esi
jb 0x4071c0
mov edx, dword [esp + 0x194]
push edx
jmp 0x4071b8
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x64]
test ecx, ecx
je 0x406ec6
add eax, 0x68
jmp 0x406ec8
xor eax, eax
lea edx, [esp + 0x1f0]
push edx
push eax
lea edi, [esp + 0x17c]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0x13
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0xcc], cx
mov edi, 7
push ebp
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebp
call fcn.00401670
mov esi, vtable.TString.0
mov dword [esp + 0xc0], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xcc]
mov ecx, ebx
mov byte [esp + 0x320], 0x14
call fcn.00401670
mov dword [esp + 0xc0], esi
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x406f5e
mov edx, dword [esp + 0xc8]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], ax
cmp dword [esp + 0x18c], esi
jb 0x4071c0
mov ecx, dword [esp + 0x178]
push ecx
jmp 0x4071b8
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x84]
test edx, edx
je 0x406fa5
add eax, 0x88
jmp 0x406fa7
xor eax, eax
lea ecx, [esp + 0x1f0]
push ecx
push eax
lea edi, [esp + 0x128]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0x15
push 0xffffffffffffffff
xor edx, edx
mov edi, 7
push ebp
lea ecx, [esp + 0x10c]
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebp
mov word [esp + 0x110], dx
call fcn.00401670
mov esi, vtable.TString.0
mov dword [esp + 0x100], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x10c]
mov ecx, ebx
mov byte [esp + 0x320], 0x16
call fcn.00401670
mov dword [esp + 0x100], esi
mov esi, 8
cmp dword [esp + 0x11c], esi
jb 0x40703d
mov eax, dword [esp + 0x108]
push eax
call fcn.00438e12
add esp, 4
xor ecx, ecx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebp
mov word [esp + 0x108], cx
cmp dword [esp + 0x138], esi
jb 0x4071c0
mov edx, dword [esp + 0x124]
push edx
jmp 0x4071b8
lea esi, [esp + 0x1cc]
call fcn.00403010
mov byte [esp + 0x318], 0x17
cmp eax, ebp
je 0x40708c
add eax, 4
jmp 0x40708e
xor eax, eax
lea ecx, [esp + 0x1f0]
push ecx
push eax
lea edi, [esp + 0x4c]
call fcn.00404ce0
add esp, 8
mov byte [esp + 0x318], 0x18
push 0xffffffffffffffff
xor edx, edx
mov esi, 7
push ebp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebp
mov word [esp + 0x70], dx
call fcn.00401670
mov edi, vtable.TString.0
mov dword [esp + 0x60], edi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x6c]
mov ecx, ebx
mov byte [esp + 0x320], 0x19
call fcn.00401670
mov dword [esp + 0x60], edi
mov edi, 8
cmp dword [esp + 0x7c], edi
jb 0x40710c
mov eax, dword [esp + 0x68]
push eax
call fcn.00438e12
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], cx
cmp dword [esp + 0x5c], edi
jb 0x40712e
mov edx, dword [esp + 0x48]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], ax
call fcn.004010f0
jmp 0x4071c0
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0xa4]
test ecx, ecx
je 0x407160
add eax, 0xa8
jmp 0x407162
xor eax, eax
lea edx, [esp + 0x1f0]
push edx
push eax
lea edi, [esp + 0x28]
call fcn.00404ce0
add esp, 8
push eax
lea esi, [esp + 0x1b0]
mov byte [esp + 0x31c], 0x1a
call fcn.00401080
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x1b8]
mov ecx, ebx
mov byte [esp + 0x320], 0x1b
call fcn.00401670
mov ecx, esi
call fcn.004010f0
cmp dword [esp + 0x38], 8
jb 0x4071c0
mov eax, dword [esp + 0x24]
push eax
call fcn.00438e12
add esp, 4
mov edi, vtable.TString.0
push fcn.004010f0
push 7
push 0x20
lea ecx, [esp + 0x238]
push ecx
mov byte [esp + 0x328], 1
call fcn.004392a4
mov esi, 8
mov dword [esp + 0x1ec], edi
cmp dword [esp + 0x208], esi
jb 0x407208
mov edx, dword [esp + 0x1f4]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
mov dword [esp + 0x208], 7
mov dword [esp + 0x204], ebp
mov word [esp + 0x1f4], ax
mov dword [esp + 0x20c], edi
cmp dword [esp + 0x228], esi
jb 0x407244
mov ecx, dword [esp + 0x214]
push ecx
call fcn.00438e12
add esp, 4
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00438b17
add esp, 0x308
ret 8