Function at 0x421d60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e45f3
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x648], ecx
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 4
call fcn.0043bf7b
add esp, 4
mov dword [ebp - 0x604], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x604], 0
je 0x421dd1
push 0x5f76e8
mov ecx, dword [ebp - 0x604]
call fcn.004228b0
mov dword [ebp - 0x608], eax
jmp 0x421ddb
mov dword [ebp - 0x608], 0
mov eax, dword [ebp - 0x608]
mov dword [ebp - 0x624], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x5f8], ecx
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004ac380
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x218]
push edx
call fcn.00411530
add esp, 8
mov dword [ebp - 0x628], eax
push 0x5f7708
mov eax, dword [ebp - 0x628]
add eax, 2
push eax
call fcn.004afd8f
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x5f8], 0
je 0x422141
mov dword [ebp - 0x60c], 0
lea ecx, [ebp - 0x600]
call fcn.00422610
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5f4]
call fcn.00422610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5f4]
call fcn.00420d90
push eax
mov ecx, dword [ebp - 0x5f8]
call fcn.004234d0
mov dword [ebp - 0x60c], eax
lea ecx, [ebp - 0x600]
call fcn.00420d90
push eax
mov ecx, dword [ebp - 0x5f8]
call fcn.00423430
mov dword [ebp - 0x60c], eax
lea ecx, [ebp - 0x5f4]
call fcn.00404f60
mov dword [ebp - 0x610], eax
lea ecx, [ebp - 0x600]
call fcn.00404f60
push eax
mov edx, dword [ebp - 0x610]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x610]
mov edx, dword [eax + 0x10]
call edx
push 0xe8
call fcn.0043bf7b
add esp, 4
mov dword [ebp - 0x614], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x614], 0
je 0x421f6b
xor eax, eax
mov dword [ebp - 0x62c], eax
push 0
lea ecx, [ebp - 0x62c]
call fcn.004228d0
push eax
push str.SOUIHOST
mov ecx, dword [0x6784cc]
push ecx
lea ecx, [ebp - 0x5f4]
call fcn.00404f60
push eax
mov ecx, dword [ebp - 0x614]
call fcn.004596b9
mov dword [ebp - 0x618], eax
jmp 0x421f75
mov dword [ebp - 0x618], 0
mov edx, dword [ebp - 0x618]
mov dword [ebp - 0x630], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x630]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
call fcn.00422290
mov ecx, dword [ebp - 0x5ec]
call fcn.004221d0
mov ecx, dword [ebp - 0x5ec]
call fcn.004221a0
mov ecx, dword [ebp - 0x5ec]
call fcn.00422260
mov ecx, dword [ebp - 0x5ec]
call fcn.00422230
mov ecx, dword [ebp - 0x5ec]
call fcn.00422200
call fcn.00427040
lea ecx, [ebp - 0x5f0]
call fcn.00422610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5f0]
call fcn.00420d90
push eax
push 0
call fcn.0046bc26
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x634], eax
lea ecx, [ebp - 0x5f0]
call fcn.00404f60
mov dword [ebp - 0x61c], eax
push 0
mov ecx, dword [ebp - 0x634]
push ecx
mov edx, dword [ebp - 0x61c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x61c]
mov edx, dword [eax + 0xc]
call edx
push str.uidef:xml_init
lea ecx, [ebp - 0x5f0]
call fcn.00404f60
push eax
mov ecx, dword [ebp - 0x5ec]
add ecx, 0x10
call fcn.0045801d
lea ecx, [ebp - 0x5e8]
call fcn.0041ab40
mov byte [ebp - 4], 5
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5e8]
call fcn.00467bd9
push 0
push 0
push 0x110
lea ecx, [ebp - 0x3b0]
call fcn.0041ca60
push 0
lea ecx, [ebp - 0x3b0]
call fcn.00466538
push 1
lea ecx, [ebp - 0x3b0]
call fcn.004246c0
mov eax, dword [ebp - 0x3a4]
push eax
mov ecx, dword [ebp - 0x5ec]
call fcn.0045ea96
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5e8]
call fcn.0041ac40
mov ecx, dword [ebp - 0x5ec]
mov dword [ebp - 0x638], ecx
mov edx, dword [ebp - 0x638]
mov dword [ebp - 0x5fc], edx
cmp dword [ebp - 0x5fc], 0
je 0x422107
push 1
mov eax, dword [ebp - 0x5fc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5fc]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x63c], eax
jmp 0x422111
mov dword [ebp - 0x63c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5f0]
call fcn.00426760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5f4]
call fcn.00426760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x600]
call fcn.00426760
mov ecx, dword [ebp - 0x5f8]
mov dword [ebp - 0x640], ecx
mov edx, dword [ebp - 0x640]
mov dword [ebp - 0x620], edx
cmp dword [ebp - 0x620], 0
je 0x422177
push 1
mov ecx, dword [ebp - 0x620]
call fcn.00422f40
mov dword [ebp - 0x644], eax
jmp 0x422181
mov dword [ebp - 0x644], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret