Function at 0x5281f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7312e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 9
mov dword [ebp - 0x34], ebx
call dword [eax + 0x18]
mov cl, byte [ebp - 0xd]
push 0
mov byte [ebp - 0x50], cl
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00420200
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.0042f5e0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0
test eax, eax
jne 0x52825e
mov eax, 0x73a7f4
push eax
call fcn.0054a300
mov ecx, eax
call fcn.0054a7a0
mov esi, eax
test esi, esi
mov dword [ebp - 0x30], esi
jne 0x52827e
push 0x770a10
jmp 0x5289ea
mov edx, dword [esi + 0x134]
mov eax, dword [ebx + 4]
mov dword [ebx + 0xec], edx
mov ecx, dword [esi + 0x1b8]
mov dword [eax + 0x40], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1bc]
push 0x813450
mov dword [edx + 0x44], eax
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x1b0]
push 0x813490
mov dword [ecx + 0x48], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x1b4]
push 0x813480
mov dword [eax + 0x4c], ecx
mov edx, dword [esi + 0x188]
mov dword [0x813480], edx
mov eax, dword [esi + 0x18c]
mov dword [0x813484], eax
mov ecx, dword [esi + 0x190]
mov dword [0x813488], ecx
mov edx, dword [esi + 0x194]
mov dword [0x813490], edx
mov eax, dword [esi + 0x198]
mov dword [0x813494], eax
mov ecx, dword [esi + 0x19c]
mov dword [0x813498], ecx
mov edx, dword [esi + 0x1a0]
mov dword [0x813450], edx
mov eax, dword [esi + 0x1a4]
mov dword [0x813454], eax
mov ecx, dword [esi + 0x1a8]
mov dword [0x813458], ecx
mov ecx, dword [0x7a0f18]
call fcn.0040dcc0
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x528351
push 0x7709e4
jmp 0x5289ea
mov eax, dword [esi + 0x14c]
test eax, eax
jne 0x528360
mov eax, 0x73a7f4
push eax
call fcn.0054a300
mov ecx, eax
call fcn.0054a7a0
test eax, eax
mov dword [ebx + 0x40], eax
jne 0x52837e
push 0x7709cc
jmp 0x5289ea
mov dword [eax + 0x118], 5
mov eax, dword [esi + 0x140]
test eax, eax
jne 0x52839c
push 0x7709a0
jmp 0x5289ea
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x5283ab
mov eax, 0x73a7f4
push eax
call fcn.0054a300
mov ecx, eax
call fcn.0054a7a0
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x5283c9
push 0x770980
jmp 0x5289ea
mov ecx, dword [eax + 0x110]
test ecx, ecx
je 0x5289e5
push 0x9c
call fcn.00711d5b
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
test edi, edi
mov byte [ebp - 4], 1
je 0x528436
mov ecx, edi
call fcn.0051faa0
mov dl, byte [ebp - 0xd]
xor eax, eax
mov byte [edi + 0x6c], dl
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
lea eax, [ebp - 0xd]
lea ecx, [edi + 0x7c]
push eax
mov byte [ebp - 4], 3
call fcn.00529df0
lea ecx, [ebp - 0xe]
mov byte [ebp - 4], 4
push ecx
lea ecx, [edi + 0x8c]
call fcn.00529e40
mov dword [edi], 0x742ddc
mov ecx, edi
jmp 0x528438
xor ecx, ecx
mov edi, dword [ebp - 0x28]
push 0x813450
mov dword [ebx + 0x38], ecx
mov edx, dword [ecx]
push 0x813490
push 0x813480
push edi
mov byte [ebp - 4], 0
call dword [edx + 8]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x40]
push edi
mov dword [eax + 4], ecx
call fcn.0054a300
mov ecx, eax
call fcn.0054ad20
mov eax, dword [esi + 0x114]
mov ecx, dword [ebx + 0x48]
mov edx, dword [esi + 0x118]
add ebx, 0x44
mov eax, dword [eax]
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 8]
push eax
push eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0xffffffff
call fcn.0052a840
add esp, 0xc
mov edi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push edi
call fcn.0052a1f0
mov dword [ebx + 8], edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5284b8
xor ecx, ecx
jmp 0x5284c0
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
mov edi, dword [ebp - 0x1c]
cmp ecx, edi
jae 0x528526
test edi, edi
jge 0x5284cd
xor edi, edi
lea ecx, [edi*4]
push ecx
call fcn.00711d5b
mov edx, dword [ebx + 8]
add esp, 4
mov edi, eax
mov eax, dword [ebx + 4]
push edi
push edx
push eax
mov ecx, ebx
call fcn.0052a200
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push ecx
push edx
mov ecx, ebx
call fcn.0052a1f0
mov eax, dword [ebx + 4]
push eax
call fcn.00703996
mov eax, dword [ebp - 0x1c]
add esp, 4
lea ecx, [edi + eax*4]
mov dword [ebx + 0xc], ecx
mov ecx, ebx
call fcn.00529e90
lea edx, [edi + eax*4]
mov dword [ebx + 4], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x114]
cmp eax, ecx
je 0x528832
xor eax, eax
jmp 0x528541
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
add eax, 0x64
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
cdq
idiv edi
cmp ecx, eax
je 0x52859c
push 0
push 0
push 0
push eax
push 4
mov ecx, 0x7dabc0
mov dword [ebp - 0x20], eax
call fcn.00512f20
mov ecx, 0x7dabc0
call fcn.005078e0
mov ecx, 0x7dabc0
call fcn.005077d0
mov ecx, dword [0x7a0f18]
call fcn.0040d170
test al, al
je 0x528597
mov ecx, dword [0x7a0f18]
push 0
call fcn.0040f660
call fcn.007015d0
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x83be1c]
mov eax, dword [0x83be18]
push 0x813468
mov edi, dword [ecx + 8]
push 0x813460
push edx
push eax
mov ecx, 0x814260
call fcn.00533580
mov ecx, eax
call fcn.005a9ee0
fld dword [edi + 0xd0]
fsub dword [0x813468]
fld dword [edi + 0xcc]
fsub dword [0x813464]
fld dword [edi + 0xc8]
fsub dword [0x813460]
push ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00408a10
fcom dword [0x742dd8]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x528646
mov eax, dword [0x813478]
lea ecx, [ebp - 0x40]
fstp dword [ebp - 0x40]
push ecx
push 1
push eax
mov ecx, 0x813470
mov dword [ebp - 0x3c], edi
call fcn.0052a5c0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x528821
lea eax, [edi + 0x28]
push eax
mov dword [ebp - 0x24], eax
fstp st(0)
call fcn.0054a300
mov ecx, eax
call fcn.0054a7a0
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x528680
mov ecx, dword [ebp - 0x24]
push ecx
push 0x770918
call fcn.00405d90
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x528821
lea ecx, [edi + 0x78]
push ecx
mov ecx, eax
call fcn.0042b1f0
test eax, eax
jne 0x5286bf
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x11c]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5286bf
mov eax, dword [ebp - 0x24]
push eax
push 0x770900
call fcn.00405d90
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
jmp 0x528821
push 0x200
call fcn.00711d5b
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x5286e2
mov ecx, eax
call fcn.0051c780
mov ecx, eax
jmp 0x5286e4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0
fld dword [edi + 0xf4]
fcom dword [0x73a698]
fnstsw ax
test ah, 0x40
jne 0x528704
fmul dword [0x742dc4]
mov esi, dword [ebp - 0x28]
fstp dword [ecx + 0xb8]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x198]
push eax
call fcn.0051c980
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0xc8]
mov ecx, eax
add eax, 0x84
push esi
mov dword [eax], edx
mov edx, dword [edi + 0xcc]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xd0]
mov dword [eax + 8], edx
mov dword [ecx + 0x128], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0xd4]
mov ecx, eax
add eax, 0x90
mov dword [eax], edx
mov edx, dword [edi + 0xd8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xdc]
mov dword [eax + 8], edx
mov dword [ecx + 0x128], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0xe0]
mov ecx, eax
add eax, 0x9c
mov dword [eax], edx
mov edx, dword [edi + 0xe4]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xe8]
mov dword [eax + 8], edx
mov dword [ecx + 0x128], 1
mov ecx, dword [ebp - 0x18]
call fcn.0051cf10
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0xf0]
push 0x813450
push 0x813490
mov dword [ecx + 0x1fc], eax
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
push 0x813480
mov dword [edx + 0x1e8], 0
mov eax, dword [ebp - 0x18]
lea edx, [eax + 4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
call fcn.0051da20
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x18]
push ecx
push 1
push eax
mov ecx, ebx
call fcn.0052a3b0
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x114]
cmp ecx, eax
jne 0x52853b
mov edi, dword [ebp - 0x34]
mov ecx, edi
call fcn.005299e0
mov ecx, edi
call fcn.00528c20
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esi + 0x170]
fld dword [esi + 0x174]
push eax
call fcn.007123f0
fld dword [esi + 0x178]
push eax
call fcn.007123f0
mov ecx, dword [esi + 0x17c]
mov edx, dword [esi + 0x16c]
push eax
mov eax, dword [esi + 0x168]
push ecx
mov ecx, dword [edi + 0x38]
push edx
push eax
call fcn.0051fd00
mov eax, dword [ebx + 4]
xor esi, esi
cmp eax, esi
jne 0x528894
xor ebx, ebx
jmp 0x52889c
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 2
lea ecx, [ebp - 0x38]
mov dword [edi + 0x54], ebx
push ecx
push esi
push edi
push fcn.00526330
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x81349c], eax
jne 0x52891c
push 0x770968
call fcn.00405d90
add esp, 4
push edi
call fcn.00526330
mov eax, dword [0x81349c]
cmp eax, esi
je 0x5288e0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x813478]
mov ecx, dword [0x813474]
mov edx, eax
mov dword [0x81349c], esi
cmp eax, edx
je 0x528910
mov ebx, dword [eax]
add eax, 8
mov dword [ecx], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 4], ebx
add ecx, 8
cmp eax, edx
jne 0x5288f7
mov eax, dword [0x813478]
mov dword [0x813478], ecx
mov dword [ebp - 0x34], eax
mov dword [edi + 0x58], esi
push 0x440
call fcn.00711d5b
add esp, 4
mov dword [ebp - 0x34], eax
cmp eax, esi
mov byte [ebp - 4], 6
je 0x528940
mov ecx, eax
call fcn.0062dd70
mov dword [ebp - 0x1c], eax
jmp 0x528943
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x1c]
push 0xc
mov dword [edi + 0x3c], edx
mov ebx, dword [edi + 0xc]
mov byte [ebp - 4], 0
mov esi, dword [ebx + 4]
call fcn.00711d5b
add esp, 4
mov ecx, ebx
test ebx, ebx
jne 0x528965
mov ecx, eax
test esi, esi
mov dword [eax], ecx
jne 0x52896d
mov esi, eax
mov dword [eax + 4], esi
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x528984
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov esi, dword [edi + 0x10]
push 0x770940
inc esi
mov dword [edi + 0x10], esi
mov dword [0x83be6c], 0
call fcn.00405d90
mov ecx, dword [ebp - 0x4c]
add esp, 4
test ecx, ecx
je 0x528a03
mov al, byte [ecx - 1]
test al, al
je 0x5289ca
cmp al, 0xff
je 0x5289ca
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00703996
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x77092c
call fcn.00531ef0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
push 1
call fcn.00420200
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret