Function at 0x41e21c
Capabilities:
Set current directory

Disassembly:
sub esp, 0x43c
push ebp
push edi
push esi
push ebx
mov esi, dword [esp + 0x450]
call fcn.0041c83c
call fcn.004067fc
mov ebp, eax
push 0x41dea0
push 0x52c5f0
call fcn.0040cb10
push eax
push ebp
mov eax, dword [esi]
push dword [eax + 0xc]
push dword [eax]
push 0x41dec0
lea ebx, [esp + 0x5c]
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x20
cmp dword [0x4f5fc4], 0
jne 0x41e27b
push 0x10
push 0x41df83
push ebx
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0xfffffff4
push 0x52c5f0
call sub.KERNEL32.dll_SetCurrentDirectoryA
add esp, 0xfffffff4
push 0x41df92
push 0x41dea0
call fcn.004f1ec8
mov ebx, eax
add esp, 0x20
lea edi, [esp + 0x20]
test ebx, ebx
je 0x41e48e
add esp, 0xfffffff4
push 0
call fcn.004f1de0
mov dword [esp + 0x2c], eax
add esp, 0xfffffff8
push 0x41dfa0
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffffc
add esp, 0xfffffff4
lea eax, [esp + 0x2c]
push eax
call fcn.004f1e78
push eax
push 0x41dfe7
push ebx
call fcn.0041ca88
add esp, 0x20
mov eax, dword [esi]
push dword [eax + 0xc]
push dword [eax]
push 0x41e000
push ebx
call fcn.0041ca88
mov eax, dword [esi]
add esp, 0x10
cmp dword [eax], 0xc0000005
jne 0x41e32a
push dword [eax + 0x18]
mov edx, 0x41e038
cmp dword [eax + 0x14], 0
je 0x41e31b
mov edx, 0x41e02b
push edx
push 0x41e060
push ebx
call fcn.0041ca88
add esp, 0x10
add esp, 0xfffffff8
mov eax, dword [esi + 4]
push dword [eax + 0xa8]
push dword [eax + 0xac]
push dword [eax + 0xa4]
push dword [eax + 0xb0]
push 0x41e080
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffff8
mov eax, dword [esi + 4]
push dword [eax + 0xc4]
push dword [eax + 0xb4]
push dword [eax + 0x9c]
push dword [eax + 0xa0]
push 0x41e0c0
push ebx
call fcn.0041ca88
add esp, 0x20
mov eax, dword [esi + 4]
push dword [eax + 0xc0]
push dword [eax + 0xb8]
push 0x41e0e5
push ebx
call fcn.0041ca88
add esp, 0xfffffff4
mov eax, dword [esi + 4]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push 0x41e100
push ebx
call fcn.0041ca88
add esp, 0x30
add esp, 0xfffffffc
push dword [0x4f5e8c]
push 0x41e134
push ebx
call fcn.0041ca88
add esp, 0xfffffffc
push dword [0x4f5e88]
push 0x41e134
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffffc
push dword [0x4f5e90]
push 0x41e134
push ebx
call fcn.0041ca88
add esp, 0xfffffffc
push 0x41e140
push 0x41e18e
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffff4
push ebx
call fcn.004f1ec0
call fcn.0040cb10
push eax
push ebp
push 0x41e1a0
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffff4
push ebx
call fcn.004f1ec0
add esp, 0xfffffff8
push 0x41e1cc
push ebx
call fcn.0041ca88
mov esi, 1
add esp, 0x20
lea edi, [esp + 0x20]
jmp 0x41e46d
add esp, 0xfffffffc
push eax
push 0x41e1de
push ebx
call fcn.0041ca88
add esp, 0xfffffff4
push ebx
call fcn.004f1ec0
inc esi
add esp, 0x20
add esp, 0xfffffff4
push esi
call fcn.004270b0
add esp, 0x10
test eax, eax
jne 0x41e451
add esp, 0xfffffff8
push 0x41e1e3
push ebx
call fcn.0041ca88
add esp, 0x10
add esp, 0xfffffff4
push ebx
call fcn.004f1ec0
mov esi, dword [0x5428a4]
add esi, 0x20
cld
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x5428a4]
add edi, 0x20
mov esi, ebx
cld
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
call fcn.00417428
mov edi, ebx
mov esi, dword [0x5428a4]
add esi, 0x20
cld
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x5428a4]
add edi, 0x20
lea esi, [esp + 0x30]
cld
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
add esp, 0xfffffff8
push 0x41d2e5
push ebx
call fcn.0041ca88
add esp, 0x20
add esp, 0xfffffff4
push ebx
call fcn.004f1eb8
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x43c
ret