Function at 0x423810
Capabilities:
Set current directory

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xae0]
mov byte [edi + 0x254], 1
mov word [edi + 0xaf8], 0
test eax, eax
je 0x423d02
cmp word [eax], 0
je 0x423d02
mov ecx, 0x14
call fcn.0048f460
mov dword [esp + 0x18], eax
test eax, eax
je 0x423877
mov dword [eax], vtable.Label.0
mov dword [eax + 4], 0x4cd2cc
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x423879
xor eax, eax
mov dword [edi + 0x650], eax
test eax, eax
je 0x423d02
cmp byte [0x4f799f], 0
mov eax, 0x4e4980
jne 0x42389b
mov eax, dword [edi + 0xae0]
sub esp, 8
mov ecx, edi
push eax
call fcn.00423d10
cmp eax, 1
jne 0x423d02
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.00429cf0
test eax, eax
je 0x423d02
mov eax, dword [edi + 0x614]
mov dword [eax + 0xc], 1
mov ebp, dword [edi + 0x610]
test ebp, ebp
je 0x42398a
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp byte [ebp + 1], cl
jbe 0x423965
xor eax, eax
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 8]
add ebx, eax
cmp byte [ebx + 1], 0
je 0x42394d
mov esi, dword [ebx + 8]
test esi, esi
je 0x423935
cmp dword [esi], 0
je 0x423935
nop dword [eax]
cmp byte [esi + 8], 0
je 0x42392d
movzx eax, word [esi + 0xa]
mov ecx, edi
push 0
push eax
push dword [esi]
call fcn.0042ced0
mov dword [esi + 4], eax
test eax, eax
je 0x423972
add esi, 0xc
cmp dword [esi], 0
jne 0x423910
push ebx
mov ecx, ebp
call fcn.00430650
test eax, eax
je 0x423d02
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x10
inc ecx
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 1]
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x14]
jl 0x4238f2
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4238e1
jmp 0x42398a
push dword [esi]
mov ecx, ebp
push 0
push str.Call_to_nonexistent_function.
call fcn.0043bc60
test eax, eax
je 0x423d02
mov ecx, dword [edi + 0x610]
test ecx, ecx
je 0x4239f6
mov al, byte [ecx]
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp al, 8
je 0x4239a9
cmp al, 0xe5
jne 0x4239f0
mov byte [ecx], 0x11
jmp 0x4239d2
mov al, byte [ecx + 0xc]
mov byte [ecx], al
mov eax, dword [edi + 0x61c]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x61c]
test eax, eax
je 0x4239c6
mov dword [eax + 0x14], ecx
jmp 0x4239cc
mov dword [edi + 0x618], ecx
mov dword [edi + 0x61c], ecx
test esi, esi
je 0x4239db
mov dword [esi + 0x14], edx
jmp 0x4239e1
mov dword [edi + 0x610], edx
test edx, edx
je 0x4239ea
mov dword [edx + 0x10], esi
jmp 0x4239f0
mov dword [edi + 0x614], esi
mov ecx, edx
test edx, edx
jne 0x423994
cmp dword [edi + 0x618], 0
je 0x423a29
mov ecx, dword [edi + 0x61c]
mov eax, dword [edi + 0x610]
mov dword [ecx + 0x14], eax
mov ecx, dword [edi + 0x610]
mov eax, dword [edi + 0x61c]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x618]
mov dword [edi + 0x610], eax
xor ebx, ebx
cmp dword [edi + 0x62c], ebx
jle 0x423a8d
mov eax, dword [edi + 0x628]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x51], 0
jne 0x423a84
test byte [esi + 0x50], 4
jne 0x423a84
lea eax, [esi + 0x34]
mov ecx, edi
push eax
push dword [esi + 0x20]
push esi
call fcn.0043c860
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push dword [esi + 0x28]
push esi
call fcn.0043c860
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
push dword [esi + 0x24]
push esi
call fcn.0043c860
lea eax, [esi + 0x48]
mov ecx, edi
push eax
push dword [esi + 0x2c]
push esi
call fcn.0043c860
inc ebx
cmp ebx, dword [edi + 0x62c]
jl 0x423a33
mov eax, dword [edi + 0x240]
test eax, eax
je 0x423b05
cmp dword [eax + 0x10], 0
je 0x423aef
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
test ecx, ecx
je 0x423aef
push str.__Class
lea eax, [esp + 0x1c]
push eax
call fcn.00421160
test al, al
je 0x423ad0
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x24c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x250], eax
push esi
push str.Unknown_class.
mov ecx, edi
mov dword [edi + 0x64c], 0
call fcn.0043bff0
test eax, eax
je 0x423d02
mov eax, dword [edi + 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi + 0x240], 0
cmp dword [0x4f82c4], 0
je 0x423c22
push 0
push 3
push 0
push 0
push str.A_Args
mov ecx, edi
call fcn.0042ed10
mov ebx, dword [edi + 0x610]
mov ebp, eax
test ebx, ebx
je 0x423c22
nop word [eax + eax]
cmp byte [ebx + 1], 0
mov dword [esp + 0x18], 0
jbe 0x423c17
xor edx, edx
mov dword [esp + 0x14], edx
mov esi, dword [ebx + 8]
add esi, edx
cmp byte [esi], 2
jne 0x423ba1
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x423bfb
mov eax, dword [esi + 8]
cmp byte [eax + 0x17], 0
jne 0x423b7d
mov ecx, dword [eax + 0xc]
jmp 0x423b7f
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x423bfb
cmp eax, ebp
je 0x423bfb
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4f82c4]
call fcn.0043c690
jmp 0x423bf7
cmp byte [esi + 1], 0
je 0x423bfb
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 8]
cmp eax, 0x41
je 0x423bfb
cmp eax, 4
jne 0x423bec
cmp dword [esi + 4], 0
je 0x423bec
mov eax, dword [esi]
cmp byte [eax + 0x17], 0
jne 0x423bca
mov ecx, dword [eax + 0xc]
jmp 0x423bcc
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x423bec
cmp eax, ebp
je 0x423bec
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4f82c4]
call fcn.0043c690
mov eax, dword [esi + 0x18]
add esi, 0x10
cmp eax, 0x41
jne 0x423bb2
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edx, 0x10
movzx eax, byte [ebx + 1]
inc esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
cmp esi, eax
jl 0x423b58
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x423b40
push dword [0x4f791c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [edi + 0x250]
mov ecx, edi
push 0
push 0
push 0
push 0x68
call fcn.00429cf0
test eax, eax
je 0x423d02
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.00429cf0
test eax, eax
je 0x423d02
mov eax, dword [edi + 0x614]
push 0
push 0
push 0
mov eax, dword [eax + 0x10]
mov dword [eax + 0xc], 1
mov eax, dword [edi + 0x614]
mov dword [eax + 0xc], 1
mov ecx, dword [edi + 0x650]
mov eax, dword [edi + 0x614]
mov dword [ecx + 8], eax
mov ecx, edi
push dword [edi + 0x610]
call fcn.0042f930
test eax, eax
je 0x423d02
push dword [edi + 0x610]
mov ecx, edi
call fcn.0042fd70
test eax, eax
je 0x423d02
push 3
push 0
push 0x4e4984
mov ecx, edi
call fcn.0042eca0
mov dword [0x4f78d0], eax
test eax, eax
je 0x423d02
push 1
push 0
push 0xffffffffffffffff
push 0x4cd350
mov ecx, eax
call fcn.00495fe0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x18]
call fcn.00420630
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret