Function at 0x424460
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 0x424a14
cmp word [eax], 0
je 0x424a14
cmp dword [0x4eb0b4], 0
jne 0x4244b5
call fcn.0049e960
mov dword [0x4eb0b4], eax
test eax, eax
je 0x424a0a
mov edx, dword [0x4eb0b0]
cmp dword [edx + 8], 0x14
jae 0x4244d7
call fcn.0049e960
mov edx, dword [0x4eb0b0]
mov dword [edx + 0xc], eax
test eax, eax
je 0x424a0a
mov ecx, dword [edx + 4]
add dword [edx + 8], 0xffffffec
mov dword [0x4eb0ac], ecx
lea eax, [ecx + 0x14]
mov dword [edx + 4], eax
test ecx, ecx
je 0x424a0a
cmp byte [0x4e98a7], 0
lea ebx, [edi + 0x650]
mov dword [ecx], vtable.Label.0
mov eax, 0x4d7250
mov dword [ecx + 4], 0x4bfba0
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 0x424534
mov eax, dword [edi + 0xae0]
sub esp, 8
mov ecx, edi
push eax
call fcn.00424a20
cmp eax, 1
jne 0x424a14
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.0042b0f0
test eax, eax
je 0x424a14
mov eax, dword [edi + 0x614]
mov dword [eax + 0xc], 1
mov ebp, dword [edi + 0x610]
test ebp, ebp
je 0x424622
mov dword [esp + 0x1c], ebx
nop
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp byte [ebp + 1], cl
jbe 0x4245fd
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 8]
add ebx, eax
cmp byte [ebx + 1], 0
je 0x4245e5
mov esi, dword [ebx + 8]
test esi, esi
je 0x4245cd
cmp dword [esi], 0
je 0x4245cd
cmp byte [esi + 8], 0
je 0x4245c5
movzx eax, word [esi + 0xa]
mov ecx, edi
push 0
push eax
push dword [esi]
call fcn.0042eac0
mov dword [esi + 4], eax
test eax, eax
je 0x42460a
add esi, 0xc
cmp dword [esi], 0
jne 0x4245a8
push ebx
mov ecx, ebp
call fcn.004324b0
test eax, eax
je 0x424a14
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 0x424591
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x424580
jmp 0x424622
push dword [esi]
mov ecx, ebp
push 0
push str.Call_to_nonexistent_function.
call fcn.0043e8b0
test eax, eax
je 0x424a14
mov ecx, dword [edi + 0x610]
test ecx, ecx
je 0x424692
nop dword [eax]
mov al, byte [ecx]
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
cmp al, 8
je 0x424645
cmp al, 0xe5
jne 0x424684
mov byte [ecx], 0x11
jmp 0x42466e
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 0x424662
mov dword [eax + 0x14], ecx
jmp 0x424668
mov dword [edi + 0x618], ecx
mov dword [edi + 0x61c], ecx
test esi, esi
je 0x424677
mov dword [esi + 0x14], edx
jmp 0x42467d
mov dword [edi + 0x610], edx
test edx, edx
je 0x42468c
mov dword [edx + 0x10], esi
mov ecx, edx
test edx, edx
jne 0x424630
jmp 0x424692
mov dword [edi + 0x614], esi
cmp dword [edi + 0x618], 0
je 0x4246c5
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 0x42472a
nop
mov eax, dword [edi + 0x628]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x51], 0
jne 0x424721
test byte [esi + 0x50], 4
jne 0x424721
lea eax, [esi + 0x34]
mov ecx, edi
push eax
push dword [esi + 0x20]
push esi
call fcn.0043f4b0
lea eax, [esi + 0x40]
mov ecx, edi
push eax
push dword [esi + 0x28]
push esi
call fcn.0043f4b0
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
push dword [esi + 0x24]
push esi
call fcn.0043f4b0
lea eax, [esi + 0x48]
mov ecx, edi
push eax
push dword [esi + 0x2c]
push esi
call fcn.0043f4b0
inc ebx
cmp ebx, dword [edi + 0x62c]
jl 0x4246d0
mov eax, dword [edi + 0x240]
test eax, eax
je 0x4247d3
cmp dword [eax + 0x10], 0
je 0x4247bd
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
test ecx, ecx
je 0x4247bd
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.00490c90
test eax, eax
je 0x42479e
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.0043ec50
test eax, eax
je 0x424a14
mov eax, dword [edi + 0x240]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi + 0x240], 0
cmp dword [0x4ea1c0], 0
je 0x4248f0
push 0
push 3
push 0
push 0
push str.A_Args
mov ecx, edi
call fcn.004307c0
mov ebx, dword [edi + 0x610]
mov ebp, eax
test ebx, ebx
je 0x4248f0
cmp byte [ebx + 1], 0
mov dword [esp + 0x18], 0
jbe 0x4248e5
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
mov esi, dword [ebx + 8]
add esi, edx
cmp byte [esi], 2
jne 0x424869
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x4248c9
mov eax, dword [esi + 8]
cmp byte [eax + 0x17], 0
jne 0x424845
mov ecx, dword [eax + 0xc]
jmp 0x424847
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x4248c9
cmp eax, ebp
je 0x4248c9
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4ea1c0]
call fcn.0043f2e0
jmp 0x4248c5
cmp byte [esi + 1], 0
je 0x4248c9
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 8]
cmp eax, 0x41
je 0x4248c9
nop word [eax + eax]
cmp eax, 4
jne 0x4248ba
cmp dword [esi + 4], 0
je 0x4248ba
mov eax, dword [esi]
cmp byte [eax + 0x17], 0
jne 0x424898
mov ecx, dword [eax + 0xc]
jmp 0x42489a
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x4248ba
cmp eax, ebp
je 0x4248ba
push ebx
push dword [eax + 0x18]
mov ecx, edi
push str.Class_may_be_overwritten.
push dword [0x4ea1c0]
call fcn.0043f2e0
mov eax, dword [esi + 0x18]
add esi, 0x10
cmp eax, 0x41
jne 0x424880
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 0x424820
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x424804
push dword [0x4e9824]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [edi + 0x250]
mov ecx, edi
push 0
push 0
push 0
push 0x68
call fcn.0042b0f0
test eax, eax
je 0x424a14
push 0
push 0
push 0
push 0x68
mov ecx, edi
call fcn.0042b0f0
test eax, eax
je 0x424a14
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.004314e0
test eax, eax
je 0x424a14
push dword [edi + 0x610]
mov ecx, edi
call fcn.00431920
test eax, eax
je 0x424a14
lea eax, [esp + 0x17]
mov ecx, edi
push eax
push 3
lea eax, [esp + 0x24]
push eax
push 0
push 0x4d7254
call fcn.004307c0
test eax, eax
je 0x4249b1
mov dword [0x4e97d8], eax
jmp 0x4249d7
xor eax, eax
mov ecx, edi
cmp byte [esp + 0x17], al
setne al
inc eax
push eax
push dword [esp + 0x20]
push 0
push 0x4d7254
call fcn.00430d20
mov dword [0x4e97d8], eax
test eax, eax
je 0x424a14
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc24
mov ecx, eax
call fcn.004a6070
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0x20]
call fcn.00421450
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