Function at 0x40a6e0
Capabilities:
Access peb ldr_data
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x458c76
mov eax, dword fs:[0]
push eax
mov eax, 0x4af0
mov dword fs:[0], esp
call fcn.00428d60
mov eax, dword [0x4bfbe4]
push ebx
push ebp
push esi
mov dword [esp + 0x4af8], eax
push edi
mov dword [esp + 0x30], ecx
mov ecx, dword [0x45d608]
mov eax, dword [str.___resnum:]
mov dword [esp + 0x17c], ecx
mov dx, word [0x45d60c]
xor ecx, ecx
mov dword [esp + 0x183], ecx
mov dword [esp + 0x187], ecx
mov dword [esp + 0x18b], ecx
mov dword [esp + 0x18f], ecx
mov word [esp + 0x193], cx
mov dword [esp + 0x178], eax
mov al, byte [0x45d60e]
mov byte [esp + 0x195], cl
mov word [esp + 0x180], dx
mov byte [esp + 0x182], al
mov ecx, 5
mov esi, 0x45d5ec
lea edi, [esp + 0x196]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [str._td_]
xor edx, edx
mov dword [esp + 0x1ad], edx
mov word [esp + 0x1b1], dx
mov byte [esp + 0x1b3], dl
mov ecx, 6
mov esi, str.onclick_return_ow_this__
lea edi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [0x45d5e8]
movsw word es:[edi], word [esi]
mov dword [esp + 0x1d2], eax
mov dword [esp + 0x1f0], eax
xor eax, eax
mov byte [esp + 0x1d6], cl
mov byte [esp + 0x1f4], cl
mov dword [esp + 0x1f5], eax
mov dword [esp + 0x1d7], edx
mov dword [esp + 0x1f9], eax
mov dword [esp + 0x1db], edx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x212], ecx
mov dword [esp + 0x1fd], eax
mov dword [esp + 0x1df], edx
mov dword [esp + 0x216], ecx
mov dword [esp + 0x201], eax
mov dword [esp + 0x1e3], edx
mov dword [esp + 0x21a], ecx
mov dword [esp + 0x205], eax
mov dword [esp + 0x1e7], edx
mov dword [esp + 0x209], eax
mov dword [esp + 0x21e], ecx
mov dword [esp + 0x1eb], edx
mov byte [esp + 0x20d], al
mov dword [esp + 0x222], ecx
mov byte [esp + 0x1ef], dl
mov dword [esp + 0x226], ecx
mov dword [esp + 0x128], edx
mov dword [esp + 0x132], eax
mov dword [esp + 0x4b08], 1
mov dword [esp + 0x1ce], ebx
mov dword [esp + 0x20e], 0x64743c
mov word [esp + 0x22a], cx
mov dword [esp + 0x124], 0x3e2d2d
mov dword [esp + 0x12c], edx
mov word [esp + 0x130], 0x20
mov dword [esp + 0x136], eax
mov dl, byte [0x45d5c0]
mov ecx, dword [0x45d5bc]
mov word [esp + 0x13a], ax
mov dword [esp + 0x141], eax
mov word [esp + 0x145], ax
mov byte [esp + 0x147], al
mov eax, dword [str.__td_]
mov byte [esp + 0x140], dl
mov dword [esp + 0x148], eax
mov dword [esp + 0x154], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x13c], ecx
mov cx, word [0x45d5b8]
mov dword [esp + 0x14e], edx
mov dword [esp + 0x15a], eax
mov word [esp + 0x14c], cx
mov word [esp + 0x152], dx
mov edx, dword [0x45d5ac]
mov word [esp + 0x158], cx
mov ecx, dword [str..gif____td_]
mov word [esp + 0x15e], ax
mov eax, dword [0x45d5b0]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
mov dword [esp + 0x168], eax
call fcn.0043d49d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x4b14]
cmp ecx, ebx
mov byte [esp + 0x4b08], 2
jne 0x40a99a
xor eax, eax
jmp 0x40a9a9
mov eax, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a9a0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401840
lea ecx, [esp + 0x10]
call fcn.00405f10
push eax
lea ecx, [esp + 0x14]
call fcn.00401a30
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
jge 0x40a9ef
push esi
lea ecx, [esp + 0x14]
call fcn.00401650
mov edx, dword [esp + 0x10]
push esi
push edx
lea eax, [esp + 0x360]
push eax
call fcn.00428da0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
mov byte [esp + eax + 0x364], 0
mov eax, ecx
add esp, 0xc
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40aa15
sub eax, esi
js 0x40b6af
cmp eax, dword [ecx - 8]
jg 0x40b6af
mov ebp, dword [esp + 0x4b24]
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
xor edi, edi
cmp ebp, 2
mov byte [eax + ecx], 0
mov dword [esp + 0x1c], ebx
jne 0x40aa9a
cmp dword [0x4ccd68], 1
jb 0x40b62d
call fcn.00428b13
xor edx, edx
div dword [0x4ccd68]
cmp edx, dword [0x4ccd64]
je 0x40ac63
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [0x4ccd64], edx
lea esi, [edx + 0x64]
mov byte [esp + 0x4b08], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40abd1
mov eax, dword [esp + 0x4b20]
push 1
push eax
mov eax, dword [esp + 0x4b24]
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x238]
push edx
push eax
lea ecx, [esp + 0x18c]
push ecx
call fcn.00404110
add esp, 0x18
cmp eax, ebx
je 0x40ab80
lea eax, [esp + 0x22c]
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40aae0
sub eax, esi
mov dword [esp + 0x24], eax
je 0x40ab1f
nop
mov al, byte [esp + edx + 0x22c]
cmp al, 0x30
jl 0x40ab07
cmp al, 0x39
jg 0x40ab07
mov byte [esp + edi + 0x16c], al
inc edi
lea eax, [esp + 0x22c]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ab12
sub eax, esi
cmp edx, eax
jb 0x40aaf0
lea edx, [esp + 0x16c]
push edx
mov byte [esp + edi + 0x170], 0
call fcn.00428d4d
mov ecx, eax
shl ecx, 1
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [0x4ccd68], eax
jne 0x40ab6f
mov eax, 1
mov dword [0x4ccd68], eax
jmp 0x40ab85
cmp eax, 0x19
jbe 0x40ab85
mov eax, 0x19
mov dword [0x4ccd68], eax
jmp 0x40ab85
mov eax, dword [0x4ccd68]
cmp ebp, 1
jne 0x40ac59
cmp eax, 2
jb 0x40ac63
call fcn.00428b13
xor edx, edx
div dword [0x4ccd68]
cmp edx, ebx
mov dword [0x4ccd64], edx
je 0x40ac63
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea esi, [edx + 0x64]
mov byte [esp + 0x4b08], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4b10]
add eax, 0xfffffff0
mov byte [esp + 0x4b08], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4b18]
add eax, 0xfffffff0
mov dword [esp + 0x4b08], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x4b00]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4afc]
call fcn.0042825d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4afc
ret 0x18
cmp ebp, ebx
jne 0x40ac63
mov dword [0x4ccd64], ebx
lea eax, [esp + 0x4ac]
mov dword [esp + 0x20], eax
xor ebx, ebx
lea eax, [esp + 0x22c]
lea ecx, [esp + 0x4ac]
sub eax, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x4b20]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x4b28]
push edx
add eax, ecx
push eax
lea edx, [esp + 0x1aa]
push edx
call fcn.00404110
add esp, 0x18
test eax, eax
je 0x40b23f
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x4b20]
push 1
sub eax, ecx
push eax
lea edx, [esp + 0x144]
push edx
mov edx, dword [esp + 0x4b28]
lea eax, [esp + 0x238]
push eax
mov dword [esp + 0x2c], ecx
add ecx, edx
push ecx
lea eax, [esp + 0x1c8]
push eax
call fcn.00404110
mov ebx, eax
lea eax, [esp + 0x244]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ad13
sub eax, ecx
push eax
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401840
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
jge 0x40ad56
push esi
lea ecx, [esp + 0x14]
call fcn.00401650
mov edx, dword [esp + 0x10]
push edx
call fcn.004293f7
add esp, 4
test esi, esi
jl 0x40b6af
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x40b6af
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
mov byte [esi + edx], 0
mov eax, dword [esp + 0x10]
lea esi, [eax - 0x10]
cmp esi, esi
je 0x40add6
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edi, [esi + 0xc]
jl 0x40adc4
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, edx
jne 0x40adc4
push esi
call fcn.00401370
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x40adbb
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
lea eax, [ebp + 0x10]
mov dword [esp + 0x10], eax
jmp 0x40add6
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401840
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 4]
mov esi, dword [eax - 0xc]
mov edx, 1
sub edx, ecx
mov ecx, dword [eax - 8]
sub ecx, esi
or ecx, edx
jge 0x40adfa
push esi
lea ecx, [esp + 0x14]
call fcn.00401650
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.00428da0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
mov byte [esp + eax + 0x238], 0
mov eax, ecx
add esp, 0xc
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ae20
sub eax, esi
js 0x40b6af
cmp eax, dword [ecx - 8]
jg 0x40b6af
mov esi, dword [esp + 0x20]
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x10]
mov byte [eax + edx], 0
add esi, 0x12c
lea eax, [esp + 0x22c]
push esi
push eax
call fcn.00403e30
add esp, 8
test ebx, ebx
jne 0x40ae64
mov byte [esi], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4b20]
add eax, ebx
push 4
sub ecx, eax
push ecx
lea edx, [esp + 0x150]
push edx
mov edx, dword [esp + 0x4b28]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x238]
push ecx
add eax, edx
push eax
lea eax, [esp + 0x1e6]
push eax
call fcn.00404110
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
jne 0x40aeca
mov eax, dword [esp + 0x14]
shl eax, 2
mov dword [esp + 0x18], eax
lea ebp, [esp + eax + 0x3bc]
mov dword [ebp], 0x32
jmp 0x40af9f
mov edi, 0x45d5a0
lea esi, [esp + 0x22c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40aeac
lea ecx, [esp + 0x22c]
lea esi, [ecx + 1]
jmp 0x40aef0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40aef0
mov eax, dword [esp + 0x14]
sub ecx, esi
shl eax, 2
mov byte [esp + ecx + 0x22a], dl
lea ebp, [esp + eax + 0x3bc]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x22c]
xor eax, eax
mov dword [ebp], 0
xor esi, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40af27
sub ecx, edi
mov dword [esp + 0x2c], ecx
je 0x40af94
jmp 0x40af40
mov cl, byte [esp + esi + 0x22c]
cmp cl, 0x39
jg 0x40af63
cmp cl, 0x30
jl 0x40af63
mov edx, dword [ebp]
movsx ecx, cl
lea edx, [edx + edx*4]
lea edx, [ecx + edx*2 - 0x30]
mov dword [ebp], edx
jmp 0x40af78
cmp cl, 0x2e
jne 0x40af6f
mov eax, 1
jmp 0x40af78
cmp cl, 0x20
jne 0x40aebe
lea ecx, [esp + 0x22c]
inc esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40af83
sub ecx, edi
cmp esi, ecx
jb 0x40af40
test eax, eax
jne 0x40af9f
mov ecx, dword [ebp]
lea eax, [ecx + ecx*4]
shl eax, 1
mov dword [ebp], eax
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4b20]
add ebx, edx
push 1
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x4b24]
lea edx, [esp + 0x15c]
push edx
lea eax, [esp + 0x238]
push eax
lea edx, [ebx + ecx]
push edx
lea eax, [esp + 0x204]
push eax
call fcn.00404110
add esp, 0x18
test eax, eax
jne 0x40aff7
mov esi, dword [esp + 0x18]
lea esi, [esp + esi + 0xac]
mov dword [esi], 1
jmp 0x40b06d
mov edi, 0x45d59c
lea esi, [esp + 0x22c]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40b01d
mov esi, dword [esp + 0x18]
lea esi, [esp + esi + 0xac]
mov dword [esi], edx
jmp 0x40b06d
mov edi, 0x45d598
lea esi, [esp + 0x22c]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40b047
mov esi, dword [esp + 0x18]
lea esi, [esp + esi + 0xac]
mov dword [esi], 1
jmp 0x40b06d
mov edi, 0x45d594
lea esi, [esp + 0x22c]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x18]
lea esi, [esp + esi + 0xac]
mov dword [esi], 0xf
add ebx, eax
mov eax, dword [esp + 0x4b20]
push 1
sub eax, ebx
push eax
mov eax, dword [esp + 0x4b24]
lea ecx, [esp + 0x168]
push ecx
lea edx, [esp + 0x238]
push edx
lea ecx, [ebx + eax]
push ecx
lea edx, [esp + 0x222]
push edx
call fcn.00404110
add esp, 0x18
test eax, eax
jne 0x40b0bd
mov edx, dword [esp + 0x18]
lea edx, [esp + edx + 0x434]
mov dword [edx], 1
jmp 0x40b0e8
lea ecx, [esp + 0x22c]
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40b0c7
mov edx, dword [esp + 0x18]
sub ecx, edi
movsx ecx, byte [esp + ecx + 0x22b]
lea edx, [esp + edx + 0x434]
sub ecx, 0x2f
mov dword [edx], ecx
mov ecx, dword [edx]
cmp ecx, 0xa
jg 0x40b0f3
test ecx, ecx
jge 0x40b0f9
mov dword [edx], 0
mov esi, dword [esi]
add ebx, eax
test esi, esi
mov dword [esp + 0x1c], ebx
jne 0x40b10b
cmp dword [ebp], 0xa
jge 0x40b129
cmp esi, 1
jne 0x40b116
cmp dword [ebp], 5
jge 0x40b129
cmp esi, 2
jne 0x40b230
cmp dword [ebp], 4
jl 0x40b230
mov ebx, dword [esp + 0x20]
mov eax, ebx
xor edi, edi
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b136
sub eax, esi
test eax, eax
jle 0x40b167
mov al, byte [ebx + edx]
inc edx
cmp al, 0x3a
jne 0x40b14c
inc edi
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b151
sub eax, esi
cmp edx, eax
jl 0x40b143
cmp edi, 2
jg 0x40b230
lea ecx, [esp + 0x358]
push ecx
lea eax, [ebx + 0x12c]
push eax
call fcn.00403c00
push ebx
mov ebp, eax
call fcn.00403b90
add esp, 0xc
test eax, eax
jne 0x40b18c
xor ebp, ebp
mov edx, dword [esp + 0x14]
dec edx
test ebp, ebp
je 0x40b230
mov eax, ebx
mov ebx, dword [esp + 0x28]
nop
mov cl, byte [eax]
mov byte [eax + ebx], cl
inc eax
test cl, cl
jne 0x40b1a0
test edx, edx
jl 0x40b1e8
mov eax, edx
imul eax, eax, 0x258
lea edi, [esp + eax + 0x4ac]
lea ecx, [ecx]
mov eax, dword [esp + edx*4 + 0x34]
cmp eax, ebp
jge 0x40b1e8
mov dword [esp + edx*4 + 0x38], eax
mov eax, edi
mov esi, 0x258
mov cl, byte [eax]
mov byte [eax + esi], cl
inc eax
test cl, cl
jne 0x40b1d3
dec edx
sub edi, 0x258
test edx, edx
jge 0x40b1c0
mov ecx, edx
imul ecx, ecx, 0x258
lea eax, [esp + 0x22c]
mov esi, eax
sub ecx, esi
lea esi, [esp + ecx + 0x704]
mov cl, byte [eax]
mov byte [eax + esi], cl
inc eax
test cl, cl
jne 0x40b202
mov eax, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x38], ebp
mov edx, dword [esp + 0x14]
inc edx
sub ebx, 0x258
add eax, 0x258
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x1e
mov ebx, eax
jb 0x40ac88
test ebx, ebx
mov ecx, 3
je 0x40b62d
cmp ebx, 5
ja 0x40b2df
jge 0x40b27b
mov edx, ebx
imul edx, edx, 0x258
mov ecx, 5
lea eax, [esp + edx + 0x4ac]
sub ecx, ebx
lea ecx, [ecx]
mov byte [eax], 0
add eax, 0x258
dec ecx
jne 0x40b270
mov ecx, dword [0x4c0d28]
lea eax, [esp + 0x4ac]
push eax
call fcn.004047e0
lea ecx, [esp + 0x704]
push ecx
mov ecx, dword [0x4c0d2c]
call fcn.004047e0
mov ecx, dword [0x4c0d30]
lea edx, [esp + 0x95c]
push edx
call fcn.004047e0
mov ecx, dword [0x4c0d34]
lea eax, [esp + 0xbb4]
push eax
call fcn.004047e0
lea ecx, [esp + 0xe0c]
push ecx
mov ecx, dword [0x4c0d38]
call fcn.004047e0
jmp 0x40b4ab
mov edx, dword [esp + 0x34]
mov eax, 7
xor edi, edi
xor esi, esi
cmp edx, eax
jl 0x40b2fd
cmp edi, ebx
jae 0x40b2fd
mov edx, dword [esp + edi*4 + 0x38]
inc edi
cmp edx, eax
jge 0x40b2f0
cmp dword [esp + edi*4 + 0x34], ecx
mov ebp, edi
jl 0x40b312
cmp ebp, ebx
jae 0x40b312
mov eax, dword [esp + ebp*4 + 0x38]
inc ebp
cmp eax, ecx
jge 0x40b305
cmp edi, 5
jb 0x40b3c4
call fcn.00428b13
xor edx, edx
div edi
mov ecx, dword [0x4c0d28]
mov esi, edx
imul edx, edx, 0x258
lea eax, [esp + edx + 0x4ac]
push eax
call fcn.004047e0
xor edx, edx
lea eax, [esi + 1]
div edi
imul edx, edx, 0x258
lea ecx, [esp + edx + 0x4ac]
push ecx
mov ecx, dword [0x4c0d2c]
call fcn.004047e0
xor edx, edx
lea eax, [esi + 2]
div edi
mov ecx, dword [0x4c0d30]
imul edx, edx, 0x258
lea edx, [esp + edx + 0x4ac]
push edx
call fcn.004047e0
xor edx, edx
lea eax, [esi + 3]
div edi
mov ecx, dword [0x4c0d34]
imul edx, edx, 0x258
lea eax, [esp + edx + 0x4ac]
push eax
call fcn.004047e0
xor edx, edx
lea eax, [esi + 4]
div edi
imul edx, edx, 0x258
lea ecx, [esp + edx + 0x4ac]
push ecx
mov ecx, dword [0x4c0d38]
call fcn.004047e0
jmp 0x40b4ab
test edi, edi
jbe 0x40b3e8
lea ebx, [esp + 0x4ac]
nop
mov ecx, dword [esi*4 + 0x4c0d28]
push ebx
call fcn.004047e0
inc esi
add ebx, 0x258
cmp esi, edi
jb 0x40b3d0
cmp ebp, 5
jb 0x40b432
sub ebp, edi
call fcn.00428b13
xor edx, edx
div ebp
cmp esi, 5
jae 0x40b4ab
sub edx, edi
add edx, esi
mov ebx, edx
xor edx, edx
mov eax, ebx
div ebp
mov ecx, dword [esi*4 + 0x4c0d28]
add edx, edi
imul edx, edx, 0x258
lea edx, [esp + edx + 0x4ac]
push edx
call fcn.004047e0
inc esi
inc ebx
cmp esi, 5
jb 0x40b407
jmp 0x40b4ab
cmp esi, ebp
jae 0x40b468
mov eax, esi
imul eax, eax, 0x258
lea edi, [esp + eax + 0x4ac]
jmp 0x40b450
mov ecx, dword [esi*4 + 0x4c0d28]
push edi
call fcn.004047e0
inc esi
add edi, 0x258
cmp esi, ebp
jb 0x40b450
mov edi, dword [esp + 0x14]
sub edi, ebp
call fcn.00428b13
xor edx, edx
div edi
cmp esi, 5
jae 0x40b4ab
sub edx, ebp
add edx, esi
mov ebx, edx
xor edx, edx
mov eax, ebx
div edi
add edx, ebp
imul edx, edx, 0x258
lea ecx, [esp + edx + 0x4ac]
push ecx
mov ecx, dword [esi*4 + 0x4c0d28]
call fcn.004047e0
inc esi
inc ebx
cmp esi, 5
jb 0x40b482
mov ebx, dword [esp + 0x4b18]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
add ebx, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
call dword [edx + 0x10]
mov edx, dword [ebx + 0xc]
test edx, edx
lea ecx, [ebx + 0xc]
jl 0x40b4e3
cmp eax, dword [ebx]
jne 0x40b4e3
mov eax, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40b516
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x40b4f8
call fcn.00401360
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x4b20]
mov ebp, dword [esp + 0x4b1c]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
mov dword [esp + 0x38], esp
mov byte [esp + 0x4b1c], 3
mov dword [esp + 0x38], esp
call dword [edx + 0x10]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
lea edx, [ebp + 0xc]
jl 0x40b563
cmp eax, dword [ebp]
jne 0x40b563
mov eax, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40b596
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x40b578
call fcn.00401360
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
mov byte [esp + 0x4b1c], 2
call fcn.004079f0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esi + 0x100], 2
mov byte [esp + 0x4b08], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b5e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x4b08], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b602
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x4b08], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b624
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x14]
jmp 0x40ac32
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4b08], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4b10]
add eax, 0xfffffff0
mov byte [esp + 0x4b08], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b67c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4b18]
add eax, 0xfffffff0
mov dword [esp + 0x4b08], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b6a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40ac32
push 0x80070057
call fcn.00401140
int3