Function at 0x45f6b0
Capabilities:
Contain obfuscated stackstrings
Create directory
Parse pe header
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563911
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x144], edi
mov dword [edi], vtable.CRCServer.0
mov dword [edi + 8], 0xffffffff
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x13c], ebx
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f71b
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x34]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f76a
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x38]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f79d
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x3c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f7d0
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x40]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f803
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x44]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f836
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x48]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f869
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x4c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f89c
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x50]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f8cf
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x12
lea esi, [edi + 0x54]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f902
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x58]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f935
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x16
lea esi, [edi + 0x5c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f968
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x18
lea esi, [edi + 0x60]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f99b
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1a
lea esi, [edi + 0x64]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45f9ce
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
lea esi, [edi + 0x68]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fa01
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1e
lea esi, [edi + 0x6c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fa34
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x20
lea esi, [edi + 0x70]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fa67
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x22
lea esi, [edi + 0x74]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fa9a
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x24
lea esi, [edi + 0x78]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45facd
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x26
lea esi, [edi + 0x7c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fb00
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x28
lea esi, [edi + 0x80]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fb36
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2a
lea esi, [edi + 0x84]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fb6c
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2c
lea esi, [edi + 0x88]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fba2
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2e
lea esi, [edi + 0x8c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fbd8
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x30
lea esi, [edi + 0x90]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fc0e
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x32
lea esi, [edi + 0x94]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fc44
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x34
lea esi, [edi + 0x98]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fc7a
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x36
lea esi, [edi + 0x9c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fcb0
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x38
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
lea ecx, [edi + 0xb0]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x39
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
lea esi, [edi + 0xdc]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fd57
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3b
mov dword [edi + 0xe4], 0
mov dword [edi + 0xf0], 0
lea esi, [edi + 0x108]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fda1
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
lea esi, [edi + 0x10c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fdd7
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x3f
lea eax, [edi + 0x110]
mov dword [ebp - 0x13c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x40
mov word [eax + 0x24], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x10], 0
mov byte [ebp - 4], 0x41
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov byte [ebp - 4], 0x42
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov byte [ebp - 4], 0x43
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov byte [ebp - 4], 0x44
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov byte [ebp - 4], 0x45
lea esi, [edi + 0x16c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45fedf
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x47
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov byte [ebp - 4], 0x48
lea esi, [edi + 0x17c]
mov dword [ebp - 0x13c], esi
call fcn.00402a00
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x45ff37
push 0x80004005
call fcn.004027b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x4a
lea ecx, [edi + 0x188]
call fcn.0045a9f0
mov byte [ebp - 4], 0x4b
lea ecx, [edi + 0xfa8]
mov dword [ebp - 0x13c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x4c
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x4d
lea ecx, [edi + 0xfc0]
mov dword [ebp - 0x13c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x4e
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x4f
lea ecx, [edi + 0xfd8]
mov dword [ebp - 0x13c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x50
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x51
lea ecx, [edi + 0xff0]
mov dword [ebp - 0x13c], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
xor eax, eax
mov word [ecx], ax
mov byte [ebp - 4], 0x52
push eax
push 0x581a44
call fcn.00413ad0
mov byte [ebp - 4], 0x53
mov dword [edi + 0x1408], 0
lea esi, [edi + 0x1410]
mov dword [ebp - 0x13c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00474f80
mov dword [esi], eax
mov byte [ebp - 4], 0x58
mov dword [edi + 0x1418], 0
mov dword [edi + 0x141c], 0
mov dword [edi + 0x1420], 0
mov byte [ebp - 4], 0x59
mov dword [edi + 0x1424], 0
push 0
lea ecx, [edi + 0x1424]
call fcn.004fb820
mov byte [ebp - 4], 0x5a
lea ecx, [edi + 0x1428]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x5b
lea ecx, [edi + 0x142c]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x5c
lea ecx, [edi + 0x1430]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x5d
lea ecx, [edi + 0x1434]
mov dword [ecx], 0
push 0
call fcn.004fb820
mov byte [ebp - 4], 0x5e
mov dword [edi + 0x1438], 0
mov dword [edi + 0x143c], 0
mov dword [edi + 0x1440], 0
mov byte [ebp - 4], 0x5f
mov dword [edi + 0x2464], 0
mov dword [edi + 0x246c], 0
mov dword [edi + 0x180], 0
push 0x11c
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x460169
mov al, byte [ebp - 0x1e]
cmp al, 3
je 0x46015f
cmp al, 2
jne 0x460169
mov dword [edi + 0x180], 1
mov dword [0x5ba1b0], edi
lea ecx, [ebp - 0x13c]
call fcn.00482490
mov byte [ebp - 4], 0x60
push eax
mov ecx, ebx
call fcn.00416320
mov byte [ebp - 4], 0x5f
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4601ac
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push 0xc
push str.rcserver.log
lea ecx, [edi + 0x1c]
call fcn.00443ec0
lea ecx, [ebp - 0x140]
call fcn.00482350
mov byte [ebp - 4], 0x62
mov edx, 0x581a44
mov eax, dword [ebp - 0x140]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4601fd
test si, si
je 0x4601f9
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4601fd
add ecx, 4
add edx, 4
test si, si
jne 0x4601d7
xor ecx, ecx
jmp 0x460202
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x4604ee
push 0x584178
push eax
push 0x58bcd4
lea eax, [edi + 0x38]
push eax
call fcn.00415d20
push 0x584154
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x3c]
push eax
call fcn.00415d20
push 0x58414c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x40]
push eax
call fcn.00415d20
push 0x584144
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x44]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58413c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x4c]
push eax
call fcn.00415d20
push 0x584134
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x48]
push eax
call fcn.00415d20
push 0x58412c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x50]
push eax
call fcn.00415d20
push 0x584124
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x54]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58411c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x5c]
push eax
call fcn.00415d20
push 0x584114
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x58]
push eax
call fcn.00415d20
push 0x58410c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x90]
push eax
call fcn.00415d20
push 0x584104
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x94]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840fc
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x60]
push eax
call fcn.00415d20
push 0x5840f4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x64]
push eax
call fcn.00415d20
push 0x5840ec
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x68]
push eax
call fcn.00415d20
push 0x5840e4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x6c]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840dc
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x70]
push eax
call fcn.00415d20
push 0x5840d4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x74]
push eax
call fcn.00415d20
push 0x5840cc
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x78]
push eax
call fcn.00415d20
push 0x5840c4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x7c]
push eax
call fcn.00415d20
add esp, 0x40
push 0x5840bc
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x80]
push eax
call fcn.00415d20
push 0x5840b4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x84]
push eax
call fcn.00415d20
push 0x5840a4
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x88]
push eax
call fcn.00415d20
push 0x5840ac
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x34]
push eax
call fcn.00415d20
add esp, 0x40
push 0x58409c
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x8c]
push eax
call fcn.00415d20
push 0x584094
push dword [ebp - 0x140]
push 0x58bcd4
lea eax, [edi + 0x9c]
push eax
call fcn.00415d20
push 0x58408c
push dword [ebp - 0x140]
push 0x58bcd4
lea esi, [edi + 0x98]
push esi
call fcn.00415d20
add esp, 0x30
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.PROCVECMTXAGU
lea ecx, [edi + 0x1424]
call fcn.004fb820
push 0x400
push 0
lea eax, [edi + 0x1008]
push eax
call fcn.00531bd0
add esp, 0xc
mov byte [edi + 0xc8], 0
lea esi, [edi + 0xd8]
mov dword [esi], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x460579
mov byte [ebp - 4], 0x63
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x13c]
mov dword [ebp - 4], 0x62
jmp 0x460579
xor eax, eax
mov dword [edi + 0xf4], eax
mov word [edi + 0xf8], ax
mov dword [edi + 0x100], eax
mov word [edi + 0x104], ax
mov byte [ebp - 4], 0x5f
mov esi, dword [ebp - 0x140]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4605b6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4