Function at 0x42c890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505fff
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x557200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x42d200
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b73e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42c8e8
mov esi, dword [esi]
push esi
push 0x53521c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0042faa0
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c910
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x21a], 0x5c
jne 0x42c947
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x42d21e
xor eax, eax
mov word [ebp + ecx - 0x218], ax
mov ax, word [ebp - 0x216]
lea esi, [ebp - 0x216]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test ax, ax
je 0x42cb6d
movzx ecx, ax
mov ebx, 0x5c
nop dword [eax + eax]
cmp cx, 0x5c
jne 0x42cb5b
xor eax, eax
mov dword [ebp - 0x294], 7
push eax
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x2a8]
push 0x5348ec
mov word [esi], ax
mov dword [ebp - 0x298], eax
mov word [ebp - 0x2a8], ax
call fcn.004084c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x280], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c9e4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x290]
call fcn.004084c0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x230]
call fcn.0042c7b0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42ca69
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ca5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d228
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x42caad
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42caa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d228
push edx
push ecx
call fcn.004b51c1
add esp, 8
cmp dword [ebp - 0x220], 0
je 0x42caf0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call fcn.004c2071
add esp, 8
test eax, eax
jne 0x42caf0
mov eax, dword [ebp - 0x272]
and eax, 0xf000
cmp eax, 0x4000
je 0x42cb11
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x42cd72
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
mov word [esi], bx
cmp edx, 8
jb 0x42cb5b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cb51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d228
push edx
push ecx
call fcn.004b51c1
add esp, 8
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x42c970
xor eax, eax
mov dword [ebp - 0x290], 0
push eax
push 0x5348ec
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004084c0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x298], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cbe0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004084c0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x248]
call fcn.0042c7b0
add esp, 4
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x42cc65
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cc5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d232
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42cca9
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cc9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d232
push edx
push ecx
call fcn.004b51c1
add esp, 8
cmp dword [ebp - 0x238], 0
je 0x42ccf0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call fcn.004c2071
add esp, 8
test eax, eax
jne 0x42ccf0
mov eax, dword [ebp - 0x272]
and eax, 0xf000
cmp eax, 0x4000
je 0x42d1c4
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push eax
call edi
test eax, eax
jne 0x42d1c4
push 0x12
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x290]
push str.PathUtil::MakePath
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004084c0
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov byte [ebp - 4], 0xe
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x42cfce
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x42cfd3
push 0x12
xor eax, eax
mov dword [ebp - 0x290], 0
push str.PathUtil::MakePath
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004084c0
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov byte [ebp - 4], 5
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x42cdd6
push 0x5c
push str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x42cddb
mov edx, str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov ecx, edx
mov dword [ebp - 0x2a8], 0
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ce07
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004084c0
xor edx, edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x260]
call fcn.00434e10
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x42ce40
mov eax, dword [eax]
cmp dword [ebp - 0x21c], 8
push eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push 0x20
push str.CreateDirectory_failed:__s____s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 8
call fcn.00408db0
push 0x61
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2a8]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov edx, dword [ebp - 0x24c]
add esp, 0x34
cmp edx, 8
jb 0x42ceee
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d223
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x42cf4b
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cf41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d223
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42cf8b
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cf81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d223
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42d1c0
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d228
jmp 0x42d1b6
mov edx, str.D:_MyProjectMOffice4.0moffice_4.0_agent_win__SourceUtilPathUtil.cpp
mov ecx, edx
mov dword [ebp - 0x2a8], 0
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d000
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004084c0
xor edx, edx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x260]
call fcn.00434e10
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x42d039
mov eax, dword [eax]
cmp dword [ebp - 0x234], 8
push eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2ac], esp
push 0x20
push str.CreateDirectory_failed:__s____s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 0x11
call fcn.00408db0
push 0x77
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x2a8]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov edx, dword [ebp - 0x24c]
add esp, 0x34
cmp edx, 8
jb 0x42d0e7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d0dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d22d
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x42d144
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d13a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d22d
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42d184
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d17a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d22d
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42d1c0
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d232
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor al, al
jmp 0x42d202
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42d200
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d232
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4f32
mov esp, ebp
pop ebp
ret
call fcn.004b552b
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
int3