Function at 0x4784b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528614
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0x14
call fcn.004fe0d3
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x478502
mov ecx, dword [ebp - 0x38]
call fcn.0046b6f0
mov dword [ebp - 0x20], eax
jmp 0x478509
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x10], ecx
push 0x56bbb0
mov ecx, dword [ebp + 8]
call fcn.0044afc0
movzx edx, al
test edx, edx
je 0x478555
push 0x56bbc0
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044b310
movzx eax, al
test eax, eax
jne 0x478609
push 0x56bbd0
lea ecx, [ebp - 0x28]
call fcn.004289c0
mov dword [ebp - 4], 1
push 0x56bbe4
lea ecx, [ebp - 0x40]
call fcn.00428940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.0042a230
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 4
push 2
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00453320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00428a40
jmp 0x478a53
push 0x56bcb4
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044a200
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00428d70
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00438d70
add esp, 8
push 0x56bcc4
mov ecx, dword [ebp + 8]
call fcn.0044afc0
movzx ecx, al
test ecx, ecx
je 0x478669
push 0x56bcd4
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044b310
movzx edx, al
test edx, edx
jne 0x478723
push 0x56bce4
lea ecx, [ebp - 0x30]
call fcn.004289c0
mov dword [ebp - 4], 5
push 0x56bc74
lea ecx, [ebp - 0x18]
call fcn.00428940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.0042a230
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 8
push 2
mov edx, dword [ebp - 0xb0]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00453320
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00428a40
jmp 0x478a53
push 0x56bc94
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044a200
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00428d70
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00429940
sub eax, 1
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00439190
movzx ecx, ax
cmp ecx, 0x5c
je 0x478775
push 0x56bca4
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00432aa0
mov edx, dword [ebp - 0x10]
add edx, 8
push edx
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call fcn.00438d70
add esp, 8
push 0x56bca8
mov ecx, dword [ebp + 8]
call fcn.0044afc0
movzx ecx, al
test ecx, ecx
je 0x4787d9
push 0x56bd38
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044b1f0
movzx edx, al
test edx, edx
je 0x4787d9
push 0x56bd44
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044a380
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
jmp 0x47887c
push 0x56bd50
lea ecx, [ebp - 0x24]
call fcn.004289c0
mov dword [ebp - 4], 9
push 0x56bd68
lea ecx, [ebp - 0x1c]
call fcn.00428940
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.0042a230
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xc
push 2
mov ecx, dword [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00453320
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x64]
call fcn.00428a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.00428a40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00428a40
push 0x56bcf8
mov ecx, dword [ebp + 8]
call fcn.0044afc0
movzx eax, al
test eax, eax
je 0x4788c5
push 0x56bd08
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044b1b0
movzx ecx, al
test ecx, ecx
je 0x4788c5
push 0x56bd18
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044a710
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x10], al
push 0x56bd28
mov ecx, dword [ebp + 8]
call fcn.0044afc0
movzx eax, al
test eax, eax
je 0x47890e
push 0x56bddc
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044b1b0
movzx ecx, al
test ecx, ecx
je 0x47890e
push 0x56bdec
mov ecx, dword [ebp + 8]
call fcn.0044ae40
mov ecx, eax
call fcn.0044a710
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x11], al
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x46c450
push 0
push 0
call fcn.004fed04
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x478a41
cmp dword [ebp - 0x10], 0
je 0x478978
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x478967
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.00478450
mov dword [ebp - 0x84], eax
jmp 0x478971
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x10], 0
push 0x56bdfc
lea ecx, [ebp - 0x3c]
call fcn.004289c0
mov dword [ebp - 4], 0xd
push 0x56be14
lea ecx, [ebp - 0x34]
call fcn.00428940
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb4]
call fcn.0042a230
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 0x10
push 2
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00453320
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xac]
call fcn.00428a40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb4]
call fcn.00428a40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00428a40
jmp 0x478a53
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jne 0x4784db
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4