Function at 0x4769f5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
movzx eax, byte [ebp + 0x54]
test eax, eax
je 0x476cdb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 0x50]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax]
test eax, eax
je 0x476c8b
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x476b26
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x476b01
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jge 0x476b21
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x114]
call fcn.0040b367
mov dword [eax], 0xb3493876
jmp 0x476af6
jmp 0x476c89
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xbc], eax
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
mov dword [eax], 3
jmp 0x476ba7
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
cmp dword [eax], 0
jl 0x476c89
mov dword [ebp - 0x48], 0xfffffff8
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x17c], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.0040b367
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], 0xeeda
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x48], eax
jle 0x476c0a
mov dword [ebp - 0x28], 1
jmp 0x476c0e
and dword [ebp - 0x28], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
cmp dword [eax], 4
ja 0x476c29
mov dword [ebp - 0xb4], 1
jmp 0x476c30
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x50]
mov ecx, 0x3dbc
sub ecx, dword [eax]
mov dword [ebp - 0x17c], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.0040b367
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.0040b367
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x476c78
mov dword [ebp - 0x38], 1
jmp 0x476c7c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x476b8f
jmp 0x476cd6
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
push 0x1d8a
push 0x5592
push dword [ebp - 0x164]
push 0x41e7
push 0
push 0
push 1
push 0x58f4
push 0x663
push dword [ebp - 0xcc]
call fcn.0047e141
add esp, 0x28
jmp 0x47708d
lea eax, [ebp + 0x6c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x144], eax
lea eax, [ebp + 0x60]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x476fe5
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x476e42
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x476e1d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x476e3d
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x88]
call fcn.0040b367
mov dword [eax], 0xfffffffe
jmp 0x476e12
jmp 0x476fe0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x476f4c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xffffffff
jbe 0x476f28
mov dword [ebp - 0x110], 1
jmp 0x476f2f
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
mov eax, 0xf839
test eax, eax
jne 0x476f4c
and dword [ebp - 0x24], 0
jmp 0x476f53
mov dword [ebp - 0x24], 1
push 1
mov ecx, dword [ebp - 0x120]
call fcn.0040b367
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x130]
mov dword [eax], 0xa26c
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0xa26c
jg 0x476f93
mov dword [ebp - 0x34], 1
jmp 0x476f97
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x476faa
mov dword [ebp - 0x3c], 1
jmp 0x476fae
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jge 0x476fc1
mov dword [ebp - 0x44], 1
jmp 0x476fc5
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 1
je 0x476fd4
mov dword [ebp - 0x54], 1
jmp 0x476fd8
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x47708d
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
movzx eax, byte [eax]
test eax, eax
je 0x47707b
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x477059
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x477079
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x178]
call fcn.0040b367
mov dword [eax], 0xa2e712c5
jmp 0x47704e
jmp 0x47708d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret