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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581490
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 0x5b3bdc
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 0x54e9af
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 0x54e9b9
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 0x54e9c3
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 0x54e9cd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebx]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push 0x5b2fa4
push eax
call fcn.00411690
add esp, 0xc
push 0
push dword [ebp - 0x20]
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 0x54e092
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push edi
lea eax, [ebp - 0x20]
push 0x5b3c0c
push eax
call fcn.0040a600
mov esi, dword [ebp - 0x20]
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 0x54e0d0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54e9d7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x5b3c28
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040a170
test al, al
jne 0x54e10e
push 0x1e
push 0x5b3c28
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 0x54e1d4
mov eax, dword [ebp - 0x64]
cmp eax, 6
jb 0x54e157
cmp eax, 7
jbe 0x54e140
cmp eax, 0xffffffff
jne 0x54e157
push eax
lea eax, [ebp - 0x18]
push 0x5b3090
push eax
call fcn.00411690
add esp, 0xc
jmp 0x54e6cf
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 0x54e1b5
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 0x54e6cf
mov ecx, dword [esi]
push esi
jmp 0x54e6ca
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 0x54e47e
call fcn.0041ba6a
mov ecx, eax
test ecx, ecx
je 0x54e9e1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push dword [ebp + 8]
push 0x5b3158
push eax
call fcn.00411690
add esp, 0x10
lea ecx, [ebp - 0x20]
push 0x5b3c68
call fcn.0041ad25
lea ecx, [ebp - 0x6c]
call fcn.005503c0
push 0x5b3d70
lea ecx, [ebp - 0x30]
call fcn.00409ed0
push dword [eax]
mov byte [ebp - 4], 0xb
push 0x26f
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 0x54e28d
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 - 0x20]
lea ecx, [ebp - 0x6c]
push 0x5b3304
call fcn.00550750
test eax, eax
jne 0x54e310
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 0x54e444
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x54e444
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 0x54e39a
push esi
push 0x5b333c
call fcn.0040bdf0
add esp, 8
cmp dword [edi - 4], 1
jle 0x54e351
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 0x54e39a
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 0x54e444
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 0x54e444
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 0x54e467
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x54e441
push 0x5b33b0
push eax
call fcn.005551d5
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x54e40a
sub ecx, eax
sar ecx, 1
jns 0x54e441
cmp dword [eax - 0xc], 0
jl 0x54e441
push 0x5b33f8
push eax
call fcn.005551d5
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x54e42d
sub ecx, eax
sar ecx, 1
jns 0x54e441
cmp dword [eax - 0xc], 0
jl 0x54e441
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 0x54e45f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
jmp 0x54e6b4
lea ecx, [ebp - 0x30]
call fcn.00409fc0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00409fc0
or ebx, 0xffffffff
cmp dword [edi - 4], 1
jle 0x54e492
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 0x5b3d90
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54e4f1
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 0x54e6cf
mov ecx, dword [esi]
push esi
jmp 0x54e6ca
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x54e6cf
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 - 0x1c]
mov esi, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0054c840
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x11
push 0x5b3488
call fcn.0040bdf0
mov eax, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x54e55d
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push 0x5b34b8
push eax
call fcn.00411690
add esp, 0xc
jmp 0x54e6b1
js 0x54e578
push 0x5b3de8
push eax
call fcn.005551d5
add esp, 8
test eax, eax
je 0x54e578
sub eax, dword [ebp - 0x1c]
sar eax, 1
jns 0x54e587
push 0x5b3c28
push 0
lea ecx, [ebp - 0x1c]
call fcn.0054d330
cmp dword [edi - 4], 1
jle 0x54e59b
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 dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54e5e1
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 0x54e6ac
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x54e6b1
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 0x5b3d70
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 0x2cf
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 0x54e6a9
push 0
push 1
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.005503e0
test eax, eax
jne 0x54e760
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 - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x54e6cf
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 0x54e6ea
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 0x54e708
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 0x54e726
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 0x54e742
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 0x54e8ee
nop dword [eax + eax]
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 0x54e8e4
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 0x54e8c9
push 0x5846d4
push ecx
call fcn.005551d5
mov edi, eax
add esp, 8
test edi, edi
je 0x54e8c9
sub edi, dword [ebx]
sar edi, 1
test edi, edi
jle 0x54e8c9
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 0x54e810
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 - 0x1c]
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