Function at 0x4197c0
Capabilities:
Check for time delay via gettickcount
Create directory
Download url
Get common file path
Get number of processors
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x471a14
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4915c0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, dword [0x4962c8]
push 0x47ea28
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], esi
call fcn.004031e0
xor ebp, ebp
push 0x47b6d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x274], ebp
call fcn.004031e0
mov byte [esp + 0x270], 1
mov eax, dword [esi + 0x6c]
sub eax, 0x10
push eax
call fcn.004024a0
add eax, 0x10
add esp, 4
mov dword [esp + 0x40], eax
push 0x5f
push 0x2e
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x27c], 2
call fcn.004239f0
lea eax, [esi + 0x64]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], eax
call fcn.00403630
push 1
push 0x47ea84
lea ecx, [esp + 0x30]
call fcn.00406360
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x30]
call fcn.00406360
push 4
push 0x47ea88
lea ecx, [esp + 0x30]
call fcn.00406360
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00406360
push 0x47b6d0
lea ecx, [esp + 0x20]
call fcn.004031e0
push 0x206
lea ecx, [esp + 0x62]
push ebp
mov byte [esp + 0x278], 3
push ecx
mov word [esp + 0x68], bp
call fcn.00457910
add esp, 0xc
lea edx, [esp + 0x5c]
push edx
push ebp
push ebp
push 0x23
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4199c2
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x419900
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
call fcn.00403590
push str.iptime
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00423de0
mov eax, dword [eax]
add esp, 0xc
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
je 0x419977
push 7
push str.iptime
lea ecx, [esp + 0x24]
call fcn.00406360
jmp 0x419992
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x419992
push str.iptime
lea ecx, [esp + 0x20]
call fcn.00405ee0
push 1
push 0x47eaa4
lea ecx, [esp + 0x24]
call fcn.00406360
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00406360
push 0x2f
push 0x5c
lea ecx, [esp + 0x24]
push ecx
call fcn.004239f0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
push ebp
push ebp
push edx
push eax
push ebp
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebp
jne 0x41a333
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov edi, esp
push eax
call fcn.004024a0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x278], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push eax
call fcn.004024a0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [esp + 0x278], 3
call fcn.0041a410
cmp eax, ebp
jne 0x41a280
push 0x47b6d0
lea ecx, [esp + 0x24]
call fcn.004031e0
push 0x47b6d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 5
call fcn.004031e0
push 0x47b6d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x274], 6
call fcn.004031e0
mov byte [esp + 0x270], 7
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0x19
mov edi, eax
push 0x47eaa8
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], edi
call fcn.00403590
call esi
sub eax, edi
cmp eax, 0xea60
jae 0x419ce3
mov ebp, dword [esp + 0x38]
push 0
push 0x47b6d0
lea ecx, [esp + 0x20]
call fcn.00403590
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x47b6d0
call fcn.004031e0
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.004190d0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jge 0x419aed
or esi, 0xffffffff
jmp 0x419b0c
push str._r_n_r_n
push eax
call fcn.004560a2
add esp, 8
test eax, eax
jne 0x419b04
or esi, 0xffffffff
jmp 0x419b0c
sub eax, dword [esp + 0x18]
sar eax, 1
mov esi, eax
lea edi, [esp + 0x18]
call fcn.00423d40
mov ebx, edi
call fcn.00423cc0
cmp esi, 0xffffffff
je 0x419b57
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
push eax
add esi, 4
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004061f0
push eax
mov ecx, edi
mov byte [esp + 0x274], 8
call fcn.00403630
mov byte [esp + 0x270], 7
mov eax, dword [esp + 0x2c]
jmp 0x419bb9
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jge 0x419b66
or eax, 0xffffffff
jmp 0x419b85
push 0x47bb4c
push ecx
call fcn.004560a2
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
jne 0x419b81
or eax, 0xffffffff
jmp 0x419b85
sub eax, ecx
sar eax, 1
mov ecx, dword [ecx - 0xc]
push ecx
add eax, 2
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.004061f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 9
call fcn.00403630
mov byte [esp + 0x270], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419bd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00456015
add esp, 4
cmp eax, 6
je 0x419c2f
mov edx, dword [esp + 0x18]
push edx
call fcn.00456015
add esp, 4
cmp eax, 5
je 0x419ce3
mov eax, dword [esp + 0x18]
push eax
call fcn.00456015
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x30]
cmp eax, 0xea60
jb 0x419aad
jmp 0x419ce3
push 0x47b6d0
lea ecx, [esp + 0x1c]
call fcn.00403510
mov ecx, dword [ebp + 0xb4]
push ecx
lea edx, [esp + 0x24]
push str.GET___s_upgrade.cgi_HTTP_1.1_r_n
push edx
call fcn.004031c0
add esp, 0xc
cmp dword [ebp + 0x70], 0
je 0x419c9c
mov eax, dword [ebp + 0xb0]
mov ecx, dword [ebp + 0xb8]
push eax
push ecx
lea edx, [esp + 0x44]
push str._s_s
push edx
call fcn.004031c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 0xc]
add esp, 0x10
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00406360
push 0x47baf4
lea ecx, [esp + 0x24]
call fcn.00405ee0
mov eax, dword [ebp + 0x4b8]
mov ecx, dword [ebp + 0x74]
push eax
push ecx
push str.Referer:_http:___s:_d_r_n
lea edi, [esp + 0x2c]
call fcn.00406410
add esp, 0xc
push 0x47baf4
mov ecx, edi
call fcn.00405ee0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x47b6d0
call fcn.004031e0
mov edx, edi
push edx
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.004190d0
mov ebp, dword [esp + 0x38]
push 0x19
mov esi, 1
push 0x47eaa8
lea ecx, [esp + 0x28]
mov dword [ebp + 0x368], esi
call fcn.00403590
cmp dword [ebp + 0xcc], 0x800000
mov dword [esp + 0x24], 0x249f0
jl 0x419d1e
mov dword [esp + 0x24], 0x493e0
cmp dword [ebp + 0x364], esi
jne 0x419d2e
add dword [esp + 0x24], 0x7530
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x24]
jae 0x419f36
cmp dword [ebp + 0x364], 1
jne 0x419d5c
mov ebx, ebp
call fcn.0041b430
push 0
push 0x47b6d0
lea ecx, [esp + 0x20]
call fcn.00403590
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x47b6d0
call fcn.004031e0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.004190d0
test eax, eax
jne 0x419f1c
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x419dbb
push esi
lea ecx, [esp + 0x1c]
call fcn.00402a40
mov edx, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.004562d5
add esp, 8
test esi, esi
jl 0x419f2c
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x419f2c
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
mov word [edx + esi*2], 0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jl 0x419ee0
push str._r_n_r_n
push ecx
call fcn.004560a2
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x419e64
sub eax, ecx
sar eax, 1
mov edx, eax
cmp edx, 0xffffffff
je 0x419e64
mov eax, dword [ecx - 0xc]
sub eax, edx
sub eax, 4
push eax
add edx, 4
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call fcn.004061f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0xa
call fcn.00403630
mov byte [esp + 0x270], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x419ed4
cmp dword [ecx - 0xc], 0
jl 0x419ee0
push 0x47bb4c
push ecx
call fcn.004560a2
add esp, 8
test eax, eax
je 0x419ee0
mov edx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x419ee0
mov eax, dword [edx - 0xc]
sub eax, ecx
sub eax, 2
add ecx, 2
push eax
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x24]
call fcn.004061f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0xb
call fcn.00403630
mov byte [esp + 0x270], 7
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419ee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x18]
call fcn.00423d40
mov ebx, edi
call fcn.00423cc0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x419f1c
mov esi, dword [esp + 0x4c]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x419f1c
push ecx
push eax
call fcn.004560a2
add esp, 8
test eax, eax
je 0x419f1c
sub eax, dword [esi]
sar eax, 1
je 0x41a14a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419d38
push 0x80070057
call fcn.004029c0
cmp dword [ebp + 0x364], 0
jne 0x41a14a
mov esi, dword [ebp + 0xc8]
test esi, esi
mov dword [esp + 0x2c], 0
je 0x41a14a
lea ecx, [esi + 0xc]
call fcn.00424110
cmp eax, 1
jne 0x41a14a
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x1c]
push edx
call fcn.00403630
mov eax, dword [ebp + 0xc8]
add eax, 0x1c
push eax
call fcn.00423aa0
mov ecx, dword [ebp + 0xc8]
mov dword [ecx + 8], 0
mov esi, dword [ebp + 0xc8]
call fcn.0042ab60
test eax, eax
jne 0x41a14a
call fcn.0042b4f0
mov ebx, dword [ebp + 0xc8]
call fcn.0042af90
mov esi, eax
cmp esi, 0xfffffc17
jne 0x419fc7
call fcn.0042af90
mov esi, eax
mov edx, dword [ebx + 0x24]
push edx
call sub.iphlpapi.dll_DeleteIPAddress
call fcn.0042b4f0
test esi, esi
jne 0x41a14a
lea eax, [esp + 0x4c]
push eax
call fcn.00456c2d
add esp, 4
lea ebx, [ebx]
lea ecx, [esp + 0x44]
push ecx
call fcn.00456c2d
mov esi, dword [ebp + 0xc8]
add esp, 4
add esi, 0xc
xor edi, edi
call fcn.00424130
xor ebx, ebx
cmp dword [eax + 0x128], ebx
je 0x41a10c
mov edx, dword [ebp + 0xc8]
cmp dword [edx + 0x844], 0x96
jl 0x41a10c
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sbb ecx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
js 0x41a10c
jg 0x41a056
cmp eax, 0x78
jb 0x41a10c
cmp dword [esp + 0x2c], ebx
jne 0x41a10c
lea edx, [esp + 0x30]
push edx
push ebx
mov dword [esp + 0x38], ebx
call sub.iphlpapi.dll_GetInterfaceInfo
mov eax, dword [esp + 0x30]
push eax
call fcn.0043997e
add esp, 4
lea ecx, [esp + 0x30]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x2c], esi
call sub.iphlpapi.dll_GetInterfaceInfo
test eax, eax
jne 0x41a0f7
cmp dword [esi], ebx
jle 0x41a0f7
mov ebp, esi
add ebp, 8
lea ebx, [ebx]
mov edx, dword [esp + 0x38]
mov esi, dword [edx + 0xc8]
add esi, 0xc
xor edi, edi
call fcn.00424130
mov eax, dword [eax]
push eax
push ebp
call fcn.004560a2
add esp, 8
test eax, eax
jne 0x41a0d7
mov eax, dword [esp + 0x24]
add ebx, 1
add ebp, 0x104
cmp ebx, dword [eax]
jl 0x41a0a0
jmp 0x41a0f7
mov ecx, dword [esp + 0x24]
imul ebx, ebx, 0x104
lea edx, [ebx + ecx + 4]
push edx
call sub.iphlpapi.dll_IpRenewAddress
test eax, eax
jne 0x41a0f7
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a108
push eax
call fcn.00439979
add esp, 4
mov ebp, dword [esp + 0x38]
call fcn.0042b570
cmp eax, 1
je 0x41a14a
mov esi, dword [esp + 0x44]
sub esi, dword [esp + 0x4c]
mov eax, dword [ebp + 0xc8]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x844]
sbb ecx, dword [esp + 0x50]
cdq
cmp ecx, edx
jg 0x41a14a
jl 0x41a13d
cmp esi, eax
jae 0x41a14a
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419ff0
mov byte [esp + 0x270], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [ebp + 0x49c], 1
mov dword [ebp + 0xc4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 5
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 0x41a1ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a24e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x270], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a279
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41a3e1
mov byte [esp + 0x270], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esi + 0xc4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x270], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x270], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a329
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 6
jmp 0x41a3e1
mov byte [esp + 0x270], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esi + 0xc4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x270], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x270], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x270], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 5
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00455843
add esp, 0x260
ret