Function at 0x470420
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5778fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [0x5edbb0]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x37c], 4
je 0x470ab9
cmp dword [0x5edbac], ebp
jne 0x4707f1
cmp dword [0x5db834], ebp
je 0x4707f1
lea ecx, [esp + 0x134]
call fcn.00425670
lea ecx, [esp + 0x214]
call fcn.00428bf0
or ecx, 0xffffffff
mov edi, 0x5ed678
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x1d2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x5ed678
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x204]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5ed678
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1b
lea esi, [esp + 0x384]
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3f0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1d2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3f4]
or ecx, 0xffffffff
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
push 0x10
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3fc]
lea edx, [esp + 0x208]
push ecx
push edx
call fcn.00438200
mov ecx, 0x10
lea esi, [esp + 0x408]
lea edi, [esp + 0x220]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x48
lea esi, [esp + 0x134]
lea edi, [esp + 0x254]
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x5edba0]
mov ecx, 0x5edb98
lea eax, [esi + 1]
push eax
call fcn.00476460
lea edi, [esi + esi*8]
mov esi, dword [0x5edb9c]
shl edi, 5
add edi, esi
mov ecx, 0x48
lea esi, [esp + 0x254]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x5edb88]
lea ecx, [esp + 0x43c]
push ecx
push edx
mov ecx, 0x5edb80
call fcn.005577db
mov edi, 0x5ed678
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x46]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5ed678
or ecx, 0xffffffff
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]
lea ecx, [esp + 0xf4]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call fcn.00428bf0
mov edi, 0x5ed678
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
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
xor eax, eax
and ecx, 3
lea edx, [esp + 0xb2]
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x5ed678
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x5ed678
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x84]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1b
lea esi, [esp + 0x388]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3f4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3f8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe8]
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 [esp + 0x3fc]
push ecx
push edx
call fcn.00438200
mov ecx, 0x10
lea esi, [esp + 0x44c]
lea edi, [esp + 0x100]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x48
lea esi, [esp + 0x14]
lea edi, [esp + 0x254]
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x5edba0]
mov ecx, 0x5edb98
lea eax, [esi + 1]
push eax
call fcn.00476460
mov eax, dword [0x5edb9c]
lea edi, [esi + esi*8]
shl edi, 5
add edi, eax
mov ecx, 0x48
lea esi, [esp + 0x254]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x5edb88]
lea ecx, [esp + 0x480]
push ecx
push edx
mov ecx, 0x5edb80
call fcn.005577db
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push ebp
mov ecx, ebx
call dword [edx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
push 0x470c10
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x470ab9
lea ecx, [esp + 0x134]
call fcn.00425670
lea ecx, [esp + 0x214]
call fcn.00428bf0
or ecx, 0xffffffff
mov edi, 0x5ed678
xor eax, eax
lea edx, [esp + 0x1a0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x1d2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x5ed678
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x204]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5ed678
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x1b
lea esi, [esp + 0x384]
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3f0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1d2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3f4]
or ecx, 0xffffffff
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
push 0x10
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3fc]
lea edx, [esp + 0x208]
push ecx
push edx
call fcn.00438200
mov eax, dword [ebx + 0x14c]
mov ecx, 0x10
lea esi, [esp + 0x408]
lea edi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x114
lea ebp, [ebx + 0x144]
mov ecx, 0x48
lea esi, [esp + 0x254]
mov edi, esp
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00476e20
mov eax, dword [ebx + 0x160]
add ebx, 0x158
lea ecx, [esp + 0x43c]
push ecx
push eax
mov ecx, ebx
call fcn.005577db
lea ecx, [esp + 0x14]
call fcn.00425670
lea ecx, [esp + 0xf4]
call fcn.00428bf0
mov edi, 0x5ed678
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5ed678
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5ed678
or ecx, 0xffffffff
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, 0x1b
lea esi, [esp + 0x384]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3f0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xb6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3f8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe8]
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 [esp + 0x3fc]
push ecx
push edx
call fcn.00438200
mov eax, dword [ebp + 8]
mov ecx, 0x10
lea esi, [esp + 0x44c]
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
sub esp, 0x114
mov ecx, 0x48
lea esi, [esp + 0x134]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00476e20
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x480]
push ecx
push eax
mov ecx, ebx
call fcn.005577db
lea ecx, [esp + 0x3f0]
mov byte [esp + 0x37c], 3
call fcn.0055962c
lea ecx, [esp + 0x3f4]
mov byte [esp + 0x37c], 2
call fcn.0055962c
lea ecx, [esp + 0x3f8]
mov byte [esp + 0x37c], 1
call fcn.0055962c
lea ecx, [esp + 0x43c]
mov byte [esp + 0x37c], 0
call fcn.0055962c
lea ecx, [esp + 0x480]
mov dword [esp + 0x37c], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x374]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x370
ret 0x100