Function at 0x40ee30
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447493
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x45c5d0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004278d8
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.0041962f
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x20]
push eax
push ebx
push 0x80
push ecx
call edi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x90], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, 0x804
cmp dx, ax
je 0x40eedb
push str.The_Assistant_For_GDNYB
mov ecx, esi
call fcn.0041d0ad
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esi + 0x74], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
push ebx
sub edx, eax
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x238]
mov esi, dword [esp + 0x44]
sub esi, edx
push esi
push eax
push edx
push ebx
mov dword [esp + 0x34], ecx
call fcn.0041d3c0
call fcn.004136f0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ef30
push 0x80004005
call fcn.004025c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x90], 1
call fcn.004136f0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ef62
push 0x80004005
call fcn.004025c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40efa0
push 0x104
lea ecx, [esp + 0x14]
call fcn.00402390
mov esi, dword [esp + 0x10]
call fcn.0041602f
mov eax, dword [eax + 8]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00432c76
add esp, 8
cmp eax, ebx
jl 0x40f1a7
cmp eax, dword [esi - 8]
jg 0x40f1a7
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.00432746
add esp, 8
cmp eax, ebx
jne 0x40efee
or edi, 0xffffffff
jmp 0x40eff2
sub eax, esi
mov edi, eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401b30
mov byte [esp + 0x90], 3
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.00401ab0
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ebx, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x18]
push str.res:__._s_index.htm
push ecx
call fcn.00402110
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call fcn.00429c69
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
mov byte [esp + 0x94], 5
lea ecx, [esp + 0x48]
mov word [esp + 0x48], ax
call fcn.0042a07a
push 3
push 0xe
lea ecx, [esp + 0x5c]
mov byte [esp + 0x98], 6
call fcn.00429baa
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
mov ecx, edx
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x54]
push eax
push str.LLLLL
push 0
push 0
push 1
push 0x1f4
push ecx
mov byte [esp + 0xbc], 7
call fcn.0041d1d9
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x2c
lea edx, [esp + 0x54]
push edx
call edi
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
call edi
lea eax, [ebx - 0x10]
mov byte [esp + 0x90], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f0f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f121
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f149
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x90], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f16d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0x7c], 0x10
jb 0x40f181
mov eax, dword [esp + 0x68]
push eax
call fcn.0041304e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0043164a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004025c0
int3