Function at 0x424490
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
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 0x424a44
cmp word [eax], 0
je 0x424a44
cmp dword [0x4eb0ec], 0
jne 0x4244e5
call fcn.0049e810
mov dword [0x4eb0ec], eax
test eax, eax
je 0x424a3a
mov edx, dword [0x4eb0e8]
cmp dword [edx + 8], 0x14
jae 0x424507
call fcn.0049e810
mov edx, dword [0x4eb0e8]
mov dword [edx + 0xc], eax
test eax, eax
je 0x424a3a
mov ecx, dword [edx + 4]
add dword [edx + 8], 0xffffffec
mov dword [0x4eb0e4], ecx
lea eax, [ecx + 0x14]
mov dword [edx + 4], eax
test ecx, ecx
je 0x424a3a
cmp byte [0x4e98c7], 0
lea ebx, [edi + 0x650]
mov dword [ecx], vtable.Label.0
mov eax, 0x4d7240
mov dword [ecx + 4], 0x4bfb90
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [esp + 0x1c], ebx
mov dword [ebx], ecx
jne 0x424564
mov eax, dword [edi + 0xae0]
sub esp, 8
mov ecx, edi
push eax
call fcn.00424a50
cmp eax, 1
jne 0x424a44
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.0042b0c0
test eax, eax
je 0x424a44
mov eax, dword [edi + 0x614]
mov dword [eax + 0xc], 1
mov ebp, dword [edi + 0x610]
test ebp, ebp
je 0x424652
mov dword [esp + 0x1c], ebx
nop
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp byte [ebp + 1], cl
jbe 0x42462d
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 8]
add ebx, eax
cmp byte [ebx + 1], 0
je 0x424615
mov esi, dword [ebx + 8]
test esi, esi
je 0x4245fd
cmp dword [esi], 0
je 0x4245fd
cmp byte [esi + 8], 0
je 0x4245f5
movzx eax, word [esi + 0xa]
mov ecx, edi
push 0
push eax
push dword [esi]
call fcn.0042ea80
mov dword [esi + 4], eax
test eax, eax
je 0x42463a
add esi, 0xc
cmp dword [esi], 0
jne 0x4245d8
push ebx
mov ecx, ebp
call fcn.00432470
test eax, eax
je 0x424a44
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x10
inc ecx
mov dword [esp + 0x10], eax
movzx eax, byte [ebp + 1]
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
jl 0x4245c1
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4245b0
jmp 0x424652
push dword [esi]
mov ecx, ebp
push 0
push str.Call_to_nonexistent_function.
call fcn.0043e770
test eax, eax
je 0x424a44
mov ecx, dword [edi + 0x610]
test ecx, ecx
je 0x4246c2
nop dword [eax]
mov al, byte [ecx]
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp al, 8
je 0x424675
cmp al, 0xe5
jne 0x4246b4
mov byte [ecx], 0x11
jmp 0x42469e
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 0x424692
mov dword [eax + 0x14], ecx
jmp 0x424698
mov dword [edi + 0x618], ecx
mov dword [edi + 0x61c], ecx
test esi, esi
je 0x4246a7
mov dword [esi + 0x14], edx
jmp 0x4246ad
mov dword [edi + 0x610], edx
test edx, edx
je 0x4246bc
mov dword [edx + 0x10], esi
mov ecx, edx
test edx, edx
jne 0x424660
jmp 0x4246c2
mov dword [edi + 0x614], esi
cmp dword [edi + 0x618], 0
je 0x4246f5
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 0x42475a
nop
mov eax, dword [edi + 0x628]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x51], 0
jne 0x424751
test byte [esi + 0x50], 4
jne 0x424751
lea eax, [esi + 0x34]
mov ecx, edi
push eax
push dword [esi + 0x20]
push esi
call fcn.0043f370
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push dword [esi + 0x28]
push esi
call fcn.0043f370
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
push dword [esi + 0x24]
push esi
call fcn.0043f370
lea eax, [esi + 0x48]
mov ecx, edi
push eax
push dword [esi + 0x2c]
push esi
call fcn.0043f370
inc ebx
cmp ebx, dword [edi + 0x62c]
jl 0x424700
mov eax, dword [edi + 0x240]
test eax, eax
je 0x424803
cmp dword [eax + 0x10], 0
je 0x4247ed
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
test ecx, ecx
je 0x4247ed
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 5
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], str.__Class
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 0
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00490b70
test eax, eax
je 0x4247ce
mov ecx, dword [eax + 4]
xor ebx, ebx
cmp dword [eax + 0xc], 5
mov edx, dword [eax]
cmove ecx, ebx
mov dword [edi + 0x250], edx
mov dword [edi + 0x24c], ecx
push esi
push str.Unknown_class.
mov ecx, edi
mov dword [edi + 0x64c], 0
call fcn.0043eb10
test eax, eax
je 0x424a44
mov eax, dword [edi + 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi + 0x240], 0
cmp dword [0x4ea204], 0
je 0x424920
push 0
push 3
push 0
push 0
push str.A_Args
mov ecx, edi
call fcn.00430780
mov ebx, dword [edi + 0x610]
mov ebp, eax
test ebx, ebx
je 0x424920
cmp byte [ebx + 1], 0
mov dword [esp + 0x18], 0
jbe 0x424915
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
mov esi, dword [ebx + 8]
add esi, edx
cmp byte [esi], 2
jne 0x424899
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x4248f9
mov eax, dword [esi + 8]
cmp byte [eax + 0x17], 0
jne 0x424875
mov ecx, dword [eax + 0xc]
jmp 0x424877
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x4248f9
cmp eax, ebp
je 0x4248f9
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4ea204]
call fcn.0043f1a0
jmp 0x4248f5
cmp byte [esi + 1], 0
je 0x4248f9
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 8]
cmp eax, 0x41
je 0x4248f9
nop word [eax + eax]
cmp eax, 4
jne 0x4248ea
cmp dword [esi + 4], 0
je 0x4248ea
mov eax, dword [esi]
cmp byte [eax + 0x17], 0
jne 0x4248c8
mov ecx, dword [eax + 0xc]
jmp 0x4248ca
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x4248ea
cmp eax, ebp
je 0x4248ea
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4ea204]
call fcn.0043f1a0
mov eax, dword [esi + 0x18]
add esi, 0x10
cmp eax, 0x41
jne 0x4248b0
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add edx, 0x10
movzx eax, byte [ebx + 1]
inc esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
cmp esi, eax
jl 0x424850
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x424834
push dword [0x4e9844]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [edi + 0x250]
mov ecx, edi
push 0
push 0
push 0
push 0x68
call fcn.0042b0c0
test eax, eax
je 0x424a44
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.0042b0c0
test eax, eax
je 0x424a44
mov eax, dword [edi + 0x614]
mov ecx, dword [esp + 0x1c]
push 0
push 0
mov eax, dword [eax + 0x10]
push 0
mov dword [eax + 0xc], 1
mov eax, dword [edi + 0x614]
mov dword [eax + 0xc], 1
mov ecx, dword [ecx]
mov eax, dword [edi + 0x614]
mov dword [ecx + 8], eax
mov ecx, edi
push dword [edi + 0x610]
call fcn.004314a0
test eax, eax
je 0x424a44
push dword [edi + 0x610]
mov ecx, edi
call fcn.004318e0
test eax, eax
je 0x424a44
lea eax, [esp + 0x17]
mov ecx, edi
push eax
push 3
lea eax, [esp + 0x24]
push eax
push 0
push 0x4d7244
call fcn.00430780
test eax, eax
je 0x4249e1
mov dword [0x4e97f8], eax
jmp 0x424a07
xor eax, eax
mov ecx, edi
cmp byte [esp + 0x17], al
setne al
inc eax
push eax
push dword [esp + 0x20]
push 0
push 0x4d7244
call fcn.00430ce0
mov dword [0x4e97f8], eax
test eax, eax
je 0x424a44
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc14
mov ecx, eax
call fcn.004a5f40
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x20]
call fcn.004214a0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x650], 0
pop edi
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret