Function at 0x406af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42992b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x274], edi
mov esi, dword [0x42a2a0]
push 0x7f89
push 0
call esi
push 0x2c
mov dword [edi + 0x410], eax
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.00414d00
mov eax, dword [edi + 0x414]
add esp, 0xc
mov dword [ebp - 0x2e0], 0x30
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d4], 0
push 0x81
push eax
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2d8], 0x406530
call dword [0x42a2a4]
push 0x7f00
push 0
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2b4], 0
call esi
mov dword [ebp - 0x2c4], eax
mov eax, dword [0x488150]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2e0]
push eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0x485fa8
call dword [0x42a2a8]
mov esi, dword [0x42a150]
lea eax, [edi + 0x1468]
push eax
mov dword [ebp - 0x2b0], eax
call esi
push 0x488028
call esi
mov ebx, dword [0x485fa0]
push 0x340
call fcn.004119e2
mov esi, eax
add esp, 4
test esi, esi
je 0x406c31
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x406c33
xor esi, esi
push ecx
push ebx
push 0x45cb74
mov ecx, esi
call fcn.004107e0
mov dword [0x488140], eax
test eax, eax
je 0x406c5b
push esi
call fcn.004110f2
add esp, 4
or eax, 0xffffffff
jmp 0x40783a
push 8
call fcn.004119e2
mov ebx, eax
add esp, 4
mov dword [ebx + 4], esi
xor esi, esi
mov dword [ebx], 1
cmp dword [ebx], 1
jne 0x406d15
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.00410880
mov dword [0x488140], eax
test eax, eax
jne 0x406d1f
push 0x104
call fcn.00411a58
add esp, 4
mov dword [esi*4 + 0x4879d0], eax
lea ecx, [ebp - 0x26c]
push ecx
push 0x104
push eax
call fcn.00411647
add esp, 0xc
push dword [ebp - 0x148]
call fcn.00411a58
mov dword [esi*4 + 0x487bd0], eax
add esp, 4
cmp dword [ebx], 1
mov eax, dword [ebp - 0x148]
mov dword [esi*4 + 0x487dd0], eax
je 0x406cf8
mov dword [0x488140], 0x80000
inc esi
jmp 0x406c72
push ecx
mov ecx, dword [ebx + 4]
push eax
push dword [esi*4 + 0x487bd0]
push esi
call fcn.00410f50
mov dword [0x488140], eax
inc esi
jmp 0x406c72
mov dword [0x488140], 0x80000
lea ecx, [ebp - 0x2ac]
mov dword [0x487fd0], esi
call fcn.004012f0
lea edx, [ebp - 0x2ac]
mov dword [ebp - 4], 0
xor ecx, ecx
call fcn.00401c20
test eax, eax
jne 0x406d4f
xor esi, esi
jmp 0x40782d
mov eax, dword [ebp - 0x2a0]
mov esi, dword [0x42a2ac]
mov dword [edi + 0x418], eax
mov eax, dword [ebp - 0x29c]
push 0
mov dword [edi + 0x41c], eax
call esi
sub eax, dword [edi + 0x418]
mov edi, dword [edi + 0x41c]
cdq
sub eax, edx
mov ebx, eax
push 1
sar ebx, 1
call esi
mov ecx, dword [ebp - 0x274]
sub eax, edi
push 0
cdq
sub eax, edx
push dword [ecx + 0x414]
sar eax, 1
push 0
push 0
push edi
mov edi, ecx
push dword [edi + 0x418]
push eax
push ebx
push 0x86ca0000
push 0x4324b8
push 0x485fa8
push 0
call dword [0x42a2b0]
push 0x4324ac
push 0
push 0
mov esi, dword [0x42a034]
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x12
mov dword [edi], eax
call esi
push 0x4324c4
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x14
mov dword [edi + 0x428], eax
call esi
push 0x4324ac
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
mov dword [edi + 0x42c], eax
push 0
push 0x12
call esi
push 0x4324ac
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x10
mov dword [edi + 0x430], eax
call esi
push 0x4324ac
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x14
mov dword [edi + 0x434], eax
call esi
push 0x4324ac
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x1a
mov dword [edi + 0x438], eax
call esi
push 0x4324ac
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x1e
mov dword [edi + 0x440], eax
call esi
push 0x4324c4
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
mov dword [edi + 0x444], eax
push 0xc
call esi
mov ebx, dword [0x42a2b4]
push 0
push 0x406ab0
push 0
push 0
mov dword [edi + 0x43c], eax
mov dword [0x488024], 0
call ebx
push eax
call dword [0x42a030]
cmp dword [0x488024], 0
jne 0x406f99
push dword [edi + 0x434]
call dword [0x42a050]
push 0x4324c4
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xa
call esi
mov dword [edi + 0x434], eax
lea eax, [edi + 0x1468]
push eax
call dword [0x42a1a4]
push dword [edi]
call ebx
mov ebx, eax
push ebx
call dword [0x42a010]
push dword [edi + 0x41c]
mov dword [edi + 0x420], eax
push dword [edi + 0x418]
push ebx
call dword [0x42a040]
mov esi, eax
push esi
push dword [edi + 0x420]
call dword [0x42a04c]
push esi
call dword [0x42a050]
push 1
push dword [edi + 0x420]
mov edi, dword [0x42a02c]
call edi
push ebx
call dword [0x42a010]
mov ecx, dword [ebp - 0x274]
push dword [ecx + 0x41c]
mov dword [ecx + 0x424], eax
push dword [ecx + 0x418]
push ebx
call dword [0x42a040]
mov ecx, dword [ebp - 0x274]
mov esi, eax
push esi
push dword [ecx + 0x424]
call dword [0x42a04c]
push esi
call dword [0x42a050]
mov esi, dword [ebp - 0x274]
push 1
push dword [esi + 0x424]
call edi
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a0]
push ecx
push eax
sub esp, 8
push ecx
push eax
push 0
push 0
push dword [esi + 0x424]
lea ecx, [ebp - 0x2ac]
call fcn.004061d0
push ebx
mov ebx, esi
push dword [ebx]
call dword [0x42a2b8]
mov dword [ebp - 0x134], 0xf5
lea edi, [ebx + 0x450]
mov dword [ebp - 0x130], 0xf0
xor esi, esi
mov dword [ebp - 0x12c], 0x19f
mov dword [ebp - 0x128], 0xaf
mov dword [ebp - 0x124], 0x104
mov dword [ebp - 0x120], 0x104
mov dword [ebp - 0x140], 0xad
mov dword [ebp - 0x13c], 0x97
mov dword [ebp - 0x138], 0x96
mov dword [ebp - 0x11c], 0x31
mov dword [ebp - 0x118], 0x28
mov dword [ebp - 0x114], 0x28
sub esp, 8
lea eax, [esi + 2]
mov ecx, edi
push dword [ebp + esi*4 - 0x11c]
push dword [ebp + esi*4 - 0x140]
push dword [ebp + esi*4 - 0x128]
push dword [ebp + esi*4 - 0x134]
push eax
push dword [ebx + 0x424]
call fcn.00401e40
inc esi
add edi, 0x34
cmp esi, 3
jl 0x4070f7
sub esp, 8
lea ecx, [ebx + 0x4ec]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x520]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
sub esp, 8
lea ecx, [ebx + 0x554]
push 0xe
push 0xe
push 0x14f
push 0x1e
push 5
push dword [ebx + 0x424]
call fcn.00401e40
push 1
push 1
push 0x145
push 0x23f
push 0x1e
push 0x14
call dword [0x42a028]
push 0xdcdcdc
mov dword [ebx + 0x448], eax
call dword [0x42a024]
mov esi, dword [0x42a254]
push 0x58
push 0x195
push 0x28
mov dword [ebx + 0x44c], eax
lea eax, [ebx + 0x594]
push 0x23
push eax
call esi
push 0x58
push 0xcd
push 0x48
push 0x69
lea eax, [ebx + 0x5a4]
push eax
call esi
push 0x6e
push 0xcd
push 0x5e
push 0x69
lea eax, [ebx + 0x5b4]
push eax
call esi
push 0x84
push 0xcd
push 0x74
push 0x69
lea eax, [ebx + 0x5c4]
push eax
call esi
push 0x133
push 0x1a9
push 0x113
push 0x2d
lea eax, [ebx + 0x5d4]
push eax
call esi
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x407282
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
push eax
movdqu xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov word [ebp - 0x290], 0
call dword [0x42a050]
lea edx, [ebp - 0x2ac]
mov ecx, 7
call fcn.00401c20
push dword [ebx + 0x424]
call dword [0x42a010]
push 0x12
push 0x1d6
push dword [ebx + 0x424]
mov dword [ebx + 0x5f4], eax
call dword [0x42a040]
mov esi, eax
push esi
push dword [ebx + 0x5f4]
call dword [0x42a04c]
push esi
call dword [0x42a050]
push 0xcc0020
push 0xc8
push 0x28
push dword [ebx + 0x424]
push 0x12
push 0x1d6
push 0
push 0
push dword [ebx + 0x5f4]
call dword [0x42a058]
cmp byte [ebp - 0x28f], 0
lea ecx, [ebp - 0x2ac]
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
setne byte [ebp - 0x111]
mov ebx, dword [ebx + 0x5f4]
mov word [ebp - 0x113], 0xff00
mov byte [ebp - 0x114], 0
call fcn.00401520
push dword [ebp - 0x114]
push esi
push edi
push 0
push 0
push dword [ebp - 0x284]
push 0x12
push 0x1d6
push 0
push 0
push ebx
call dword [0x42a214]
lea ecx, [ebp - 0x2ac]
call fcn.00401a30
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x4073ad
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
push eax
movdqu xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov word [ebp - 0x290], 0
call dword [0x42a050]
lea edx, [ebp - 0x2ac]
mov ecx, 6
call fcn.00401c20
mov ebx, dword [ebp - 0x274]
push dword [ebx + 0x424]
call dword [0x42a010]
push 0x12
push 0x1d6
push dword [ebx + 0x424]
mov dword [ebx + 0x5f8], eax
call dword [0x42a040]
mov esi, eax
push esi
push dword [ebx + 0x5f8]
call dword [0x42a04c]
push esi
call dword [0x42a050]
push 0xcc0020
push 0xc8
push 0x28
push dword [ebx + 0x424]
push 0x12
push 0x1d6
push 0
push 0
push dword [ebx + 0x5f8]
call dword [0x42a058]
cmp byte [ebp - 0x28f], 0
lea ecx, [ebp - 0x2ac]
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
setne byte [ebp - 0x111]
mov ebx, dword [ebx + 0x5f8]
mov word [ebp - 0x113], 0xff00
mov byte [ebp - 0x114], 0
call fcn.00401520
push dword [ebp - 0x114]
push esi
push edi
push 0
push 0
push dword [ebp - 0x284]
push 0x12
push 0x1d6
push 0
push 0
push ebx
call dword [0x42a214]
lea ecx, [ebp - 0x2ac]
call fcn.00401a30
push dword [ebp - 0x2b0]
call dword [0x42a1a0]
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.00414d00
mov ebx, dword [ebp - 0x274]
lea eax, [ebp - 0x110]
add esp, 0xc
push pe_nt_image_headers32
push eax
push dword [ebx + 0x414]
call dword [0x42a070]
lea eax, [ebp - 0x110]
push 0x5c
push eax
call fcn.00411e30
add esp, 8
mov esi, eax
jmp 0x4074f0
test esi, esi
lea ecx, [ebp - 0x110]
push 0x40
cmovne ecx, esi
push ecx
call fcn.00411ce0
add esp, 8
test eax, eax
je 0x407521
push eax
mov ecx, ebx
mov byte [ebx + 0x60b], 1
call fcn.00407860
test eax, eax
je 0x40778b
mov eax, 0x488098
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407530
sub eax, edx
cmp eax, 0xa
jbe 0x4075ab
push 0x4324cc
push 0x488098
call fcn.00411a70
mov esi, eax
add esp, 8
test esi, esi
je 0x4075ab
push 0x4324d4
push 0x488098
add esi, 5
call fcn.00411a70
add esp, 8
test eax, eax
je 0x4075ab
push 0x40
push 0x488098
call fcn.00411ce0
add esp, 8
test eax, eax
je 0x4075ab
push 0x5f
push eax
call fcn.00411ce0
add esp, 8
test eax, eax
je 0x4075ab
push 0x4324e0
push 0x488098
call fcn.00411a70
add esp, 8
test eax, eax
jne 0x4074f0
push 5
push dword [ebx]
call dword [0x42a2bc]
push 0x108
mov byte [ebx + 0x60b], 0
call fcn.004119e2
add esp, 4
mov dword [ebx + 0x620], eax
push 0x108
push 0
push eax
call fcn.00414d00
add esp, 0xc
push 0x4324e8
push pe_nt_image_headers32
push dword [ebx + 0x620]
call fcn.00411647
add esp, 0xc
push dword [ebx + 0x620]
push dword [ebx]
call dword [0x42a2cc]
mov eax, dword [ebx + 0x620]
mov dword [eax + 0x100], 0x432500
mov edx, dword [ebx + 0x620]
mov ecx, dword [edx + 0x100]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407624
sub ecx, esi
mov dword [edx + 0x104], ecx
push 0x10d4
mov byte [ebx + 0x60e], 1
mov dword [ebx + 0x590], 0xce5157
call fcn.004119e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x278], edi
push 0x10d4
push 0
push edi
call fcn.00414d00
add esp, 0xc
mov word [edi + 0x1024], 0x101
lea eax, [edi + 0x400]
mov byte [edi + 0x102d], 2
push 0x4325b4
push 0x400
push eax
call fcn.00411647
add esp, 0xc
lea esi, [edi + 0x800]
push 0x432478
push 0x400
push esi
call fcn.00411647
add esp, 0xc
push 0x4325c0
push 0x400
push edi
call fcn.00411647
mov ecx, esi
mov dword [edi + 0x10c8], 0x17a950
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4076d0
lea eax, [ebp - 0x118]
sub ecx, edx
push eax
push ecx
push esi
mov dword [edi + 0x1000], ecx
push dword [ebx + 0x420]
call dword [0x42a020]
mov eax, dword [ebp - 0x118]
lea esi, [edi + 0x1004]
push 0x9c
add eax, 0xeb
push eax
push 0x8c
push 0xd7
push esi
call dword [0x42a254]
mov ecx, dword [edi + 0x1008]
mov edx, dword [esi]
lea eax, [ecx + 0x10]
push eax
lea eax, [edx + 0x5f]
push eax
lea eax, [ecx - 0x22]
push eax
lea eax, [edx - 0x32]
push eax
lea eax, [edi + 0x1014]
push eax
call dword [0x42a254]
lea esi, [ebx + 0x614]
mov byte [edi + 0x102c], 1
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x278]
cmp ecx, eax
jae 0x4077b3
mov ecx, dword [esi]
lea edx, [ebp - 0x278]
cmp ecx, edx
ja 0x4077b3
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x40777b
push ecx
mov ecx, esi
call fcn.0040c4b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4077c9
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x4077c9
push ecx
push 0x4326a0
call fcn.0040bc10
test eax, eax
push ebx
setne al
push 0
push 0x408ad0
mov byte [ebx + 0x60d], al
call fcn.00412a40
add esp, 0xc
jmp 0x4077cd
cmp eax, dword [esi + 8]
jne 0x4077c0
push ecx
mov ecx, esi
call fcn.0040c4b0
mov eax, dword [esi + 4]
test eax, eax
je 0x4077c9
mov dword [eax], edi
add dword [esi + 4], 4
push 0x83
push dword [ebx + 0x414]
call dword [0x42a25c]
push 0x486010
push pe_nt_image_headers32
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebx + 0x408], eax
call dword [0x42a07c]
mov dword [ebx + 0x40c], eax
test eax, eax
je 0x407826
push pe_nt_image_headers32
push 0
push 0
push 0xf001f
push eax
call dword [0x42a080]
mov ecx, dword [ebx]
push eax
mov dword [eax], ecx
call dword [0x42a084]
movzx esi, byte [ebx + 0x60b]
lea ecx, [ebp - 0x2ac]
call fcn.004013a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004110f7
mov esp, ebp
pop ebp
ret