Function at 0x4a7360
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a8ad7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6336a0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xb8]
lea edi, [ebx + 0xb8]
mov ecx, str.about:blank
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a73d6
test dx, dx
je 0x4a73d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a73d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a73b0
xor eax, eax
jmp 0x4a73db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a76a0
mov eax, dword [ebx + 0x210]
mov eax, dword [eax - 0xc]
test eax, eax
lea esi, [ebx + 0x210]
jne 0x4a7412
push esi
push edi
call fcn.00453510
lea ecx, [ebx + 0x214]
push ecx
push edi
call fcn.00453630
add esp, 0x10
jmp 0x4a751b
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a742c
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x260], 0
call fcn.00453450
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x4a74f4
push 0x5d616c
lea ecx, [esp + 0x18]
push 0x63c678
push ecx
call fcn.00401ba0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x26c], 1
call fcn.00401ae0
add esp, 0xc
lea ecx, [ebx + 0x214]
push eax
mov byte [esp + 0x264], 2
call fcn.00402330
mov byte [esp + 0x260], 1
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 0x4a74cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x260], 0
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 0x4a74f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x260], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a751b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x214]
cmp dword [eax - 0xc], 0
lea edi, [ebx + 0x214]
je 0x4a76a0
push eax
call fcn.0044adc0
add esp, 4
test eax, eax
je 0x4a757a
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push ecx
push eax
call fcn.005625ae
test eax, eax
je 0x4a757a
mov edx, dword [esp + 0x34]
or edx, dword [esp + 0x38]
jne 0x4a757a
mov ecx, dword [edi]
call fcn.0044ad40
mov eax, dword [edi]
push eax
call fcn.0044adc0
add esp, 4
test eax, eax
jne 0x4a7689
mov eax, dword [0x63c678]
push eax
mov dword [esp + 0x18], eax
call fcn.0044adc0
add esp, 4
test eax, eax
jne 0x4a75b3
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4a762c
lea ecx, [esp + 0x10]
call fcn.00402700
mov dword [esp + 0x260], 3
mov ecx, dword [edi]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x18]
push str.URL:_s_r_nLocalFile:_s
push eax
call fcn.00404650
mov eax, dword [ebx + 0x1cc]
add esp, 0x10
test eax, eax
je 0x4a75f4
push eax
mov eax, 0x63cd58
call fcn.0053c300
mov eax, dword [ebx + 0x13c]
mov ecx, dword [esp + 0x10]
push 0x2e
push eax
push 0x63cd58
call fcn.0053a520
test eax, eax
mov dword [ebx + 0x1cc], eax
je 0x4a7621
push 0x63cd58
mov ecx, eax
call fcn.0053b620
lea ecx, [esp + 0x10]
call fcn.00401f20
jmp 0x4a76a0
cmp dword [0x63ce40], 3
jge 0x4a7680
lea ecx, [esp + 0x10]
call fcn.00402700
mov dword [esp + 0x260], 4
mov ecx, dword [0x63c678]
push ecx
lea edx, [esp + 0x14]
push 0x5f6398
push edx
call fcn.00404650
mov ecx, dword [0x63c450]
mov eax, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0x71f4
call fcn.004a1150
lea ecx, [esp + 0x10]
call fcn.00401f20
add dword [0x63ce40], 1
jmp 0x4a76a0
mov esi, dword [0x63c450]
push 2
push 0
add esi, 0x2340
mov eax, edi
call fcn.0040b720
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00577139
mov esp, ebp
pop ebp
ret