Function at 0x54e9f0
Capabilities:
Create directory
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5815b0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5da100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
push edi
push 0x5b3958
call fcn.0040bdf0
add esp, 0x10
lea ecx, [ebp - 0x6c]
push 1
push 0x5b2f4c
push 0x5b2f58
call fcn.00550050
mov dword [ebp - 4], 0
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f430
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f43a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f444
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040a240
mov ecx, dword [ebp + 0x14]
call fcn.0040a240
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f44e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebx]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push 0x5b2fa4
push eax
call fcn.00411690
add esp, 0xc
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5b2fbc
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xd]
call fcn.0040a8c0
push dword [eax]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push 0x5b2fe0
push eax
call fcn.00411690
mov edx, dword [ebp + 0xc]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54eb42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push edi
lea eax, [ebp - 0x1c]
push 0x5b3984
push eax
call fcn.0040a600
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
add esp, 0x10
push 0
push 1
push esi
call fcn.00550d70
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x54eb80
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f458
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x5b39a0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040a170
test al, al
jne 0x54ebbe
push 0x2f
push 0x5b39a0
lea ecx, [ebp + 0xc]
call fcn.0040b0f0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0
push 1
push eax
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.005503e0
test eax, eax
jne 0x54ec84
mov eax, dword [ebp - 0x64]
cmp eax, 6
jb 0x54ec07
cmp eax, 7
jbe 0x54ebf0
cmp eax, 0xffffffff
jne 0x54ec07
push eax
lea eax, [ebp - 0x18]
push 0x5b3090
push eax
call fcn.00411690
add esp, 0xc
jmp 0x54f155
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x6c]
call fcn.00550660
push esi
push dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push dword [ebp - 0x64]
push 0x5b3120
push eax
call fcn.00411690
mov edx, dword [ebp + 8]
add esp, 0x14
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54ec65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x54f155
mov ecx, dword [esi]
push esi
jmp 0x54f150
push ecx
mov esi, esp
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
mov ecx, dword [ebp - 0x28]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.0054d410
test eax, eax
jne 0x54ef2e
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54f462
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
push 0x5b3158
push eax
call fcn.00411690
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x5b3a00
call fcn.0041ad25
lea ecx, [ebp - 0x6c]
call fcn.005503c0
push 0x5b3b1c
lea ecx, [ebp - 0x30]
call fcn.00409ed0
push dword [eax]
mov byte [ebp - 4], 0xb
push 0x1b3
push 0x5b32b8
push 0xe
call fcn.0040bdf0
mov edx, dword [ebp - 0x30]
add esp, 0x10
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54ed3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push 0x5b3304
call fcn.00550750
test eax, eax
jne 0x54edc0
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp + 0x10], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x6c]
call fcn.00550660
push esi
push dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push dword [ebp - 0x64]
push 0x5b3120
push eax
call fcn.00411690
mov edx, dword [ebp + 8]
add esp, 0x14
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54eef4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x54eef4
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xe
je 0x54ee4a
push esi
push 0x5b333c
call fcn.0040bdf0
add esp, 8
cmp dword [edi - 4], 1
jle 0x54ee01
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040a320
mov edi, dword [ebp + 0xc]
push edi
push 1
lea eax, [ebp - 0x14]
push eax
push esi
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54ee4a
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add eax, 0x10
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push 0x5b3368
push eax
call fcn.00411690
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00409fc0
jmp 0x54eef4
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push 0
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x6c]
push dword [ebp + 8]
push eax
call fcn.0054b5b0
test eax, eax
je 0x54eef4
push ecx
mov ebx, esp
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
mov ecx, dword [ebp - 0x28]
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0054d410
test eax, eax
jne 0x54ef17
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x54eef1
push 0x5b33b0
push eax
call fcn.005551d5
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x54eeba
sub ecx, eax
sar ecx, 1
jns 0x54eef1
cmp dword [eax - 0xc], 0
jl 0x54eef1
push 0x5b33f8
push eax
call fcn.005551d5
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x54eedd
sub ecx, eax
sar ecx, 1
jns 0x54eef1
cmp dword [eax - 0xc], 0
jl 0x54eef1
push 0x5b3448
push eax
call fcn.005551d5
add esp, 8
or ebx, 0xffffffff
mov eax, ebx
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x54ef0f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
jmp 0x54f13a
lea ecx, [ebp - 0x30]
call fcn.00409fc0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00409fc0
or ebx, 0xffffffff
cmp dword [edi - 4], 1
jle 0x54ef42
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040a320
mov edi, dword [ebp + 0xc]
push edi
push 1
lea eax, [ebp - 0x14]
push eax
push 0x5b3b38
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54efa1
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
push esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x10
push 0x5b3b88
push eax
call fcn.00411690
add esp, 0x10
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x54f155
mov ecx, dword [esi]
push esi
jmp 0x54f150
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x54f155
push dword [ebp + 0x10]
add eax, 0xfffffff0
push ecx
mov esi, esp
push eax
mov dword [ebp + 8], esi
call fcn.0040aa90
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0054cbd0
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
push 0x5b3488
call fcn.0040bdf0
mov eax, dword [ebp - 0x20]
add esp, 8
cmp dword [eax - 0xc], 0
jne 0x54f00c
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push 0x5b34b8
push eax
call fcn.00411690
add esp, 0xc
jmp 0x54f137
cmp dword [edi - 4], 1
jle 0x54f023
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040a320
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
push edi
push 1
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54f067
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add eax, 0x10
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x12
push 0x5b3368
push eax
call fcn.00411690
add esp, 0x10
lea ecx, [ebp + 8]
jmp 0x54f132
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x54f137
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5b2f08
call fcn.0041a92b
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x13
mov ecx, esp
push eax
call fcn.0041ce77
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
mov ecx, esi
call fcn.0054cf80
push 0x5b3b1c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call fcn.00409ed0
push dword [ebp - 0x2c]
mov byte [ebp - 4], 0x15
push dword [eax]
push 0x20f
push 0x5b3568
push 0xe
call fcn.0040bdf0
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 8]
call fcn.00409fc0
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x54f12f
push 0
push 1
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54f1e6
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
push eax
call fcn.0040aa90
add eax, 0x10
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x16
push 0x5b3368
push eax
call fcn.00411690
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00409fc0
lea ecx, [ebp - 0x2c]
call fcn.00409fc0
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54f155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x54f170
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54f18e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54f1ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x54f1c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x6c]
call fcn.00550210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x5855e8
call fcn.0041a92b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5b35a4
mov byte [ebp - 4], 0x17
call fcn.0041a92b
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x18
mov ecx, esp
push eax
call fcn.0041ce77
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x14
push eax
call fcn.004195c0
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00419fd0
push eax
lea ecx, [ebp + 8]
call fcn.0041ce77
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x1b
call fcn.00409fc0
lea ecx, [ebp - 0x44]
call fcn.0041dd11
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0x585d50
call fcn.0041a92b
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x1d
mov ecx, esp
push eax
call fcn.0041ce77
mov byte [ebp - 4], 0x1c
call fcn.00419d00
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x3c], esi
jle 0x54f36f
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov ecx, eax
call fcn.00419fd0
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x54f365
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
push 1
lea ecx, [ebp - 0x44]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
dec eax
push eax
push esi
call fcn.0047e62f
mov ecx, eax
call fcn.00449750
push 0x58439c
push 0x5855ec
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov ecx, eax
call fcn.00419830
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov ebx, eax
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jl 0x54f34a
push 0x5846d4
push ecx
call fcn.005551d5
mov edi, eax
add esp, 8
test edi, edi
je 0x54f34a
sub edi, dword [ebx]
sar edi, 1
test edi, edi
jle 0x54f34a
push 1
push edi
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov ecx, eax
call fcn.00449750
push 0x5855f4
push edi
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
mov ecx, eax
call fcn.0054d330
push esi
lea ecx, [ebp - 0x44]
call fcn.0047e62f
push dword [eax]
push 0x5b35c4
push dword [ebp + 0x18]
call fcn.0040a600
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x3c]
jl 0x54f291
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x44]
call fcn.0041e082
push ecx
mov ecx, esp
mov dword [ebp + 0x18], esp
push 0x5855ec
call fcn.0041a92b
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5b35cc
mov byte [ebp - 4], 0x1e
call fcn.0041a92b
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
mov ecx, esp
push eax
call fcn.0041ce77
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x1c
push eax
call fcn.004195c0
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 0x20
call fcn.00419500
lea ecx, [ebp + 0x10]
call fcn.00409fc0
lea ecx, [ebp - 0x44]
call fcn.0041dd28
lea ecx, [ebp + 8]
call fcn.00409fc0
lea ecx, [ebp - 0x2c]
call fcn.00409fc0
lea ecx, [ebp - 0x20]
call fcn.00409fc0
lea ecx, [ebp + 0xc]
call fcn.00409fc0
lea ecx, [ebp - 0x18]
call fcn.00409fc0
lea ecx, [ebp - 0x14]
call fcn.00409fc0
lea ecx, [ebp - 0x24]
call fcn.00409fc0
lea ecx, [ebp - 0x6c]
call fcn.00550210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.0040a070
push 0x80004005
call fcn.0040a070
push 0x80004005
call fcn.0040a070
push 0x80004005
call fcn.0040a070
push 0x80004005
call fcn.0040a070
push 0x80004005
call fcn.0040a070
int3