Function at 0x49e449
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov ecx, 0x113
push esi
push edi
cmp eax, ecx
jne 0x49e48a
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d5341
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x49e6a0
mov eax, esi
jmp 0x49e6a2
cmp eax, 0x7e9
jne 0x49e4b3
xor edi, edi
xor esi, esi
push edi
inc esi
mov ecx, edx
push edi
push edi
cmp dword [ebp + 0x10], esi
jne 0x49e4a7
call fcn.004bda63
jmp 0x49e4ac
call fcn.004bdb85
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
jmp 0x49e483
mov ecx, 0x537
cmp eax, ecx
jne 0x49e4d6
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004cc581
jmp 0x49e474
mov ecx, 0x561
cmp eax, ecx
jne 0x49e4fc
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d77f6
jmp 0x49e474
mov ecx, 0x56a
cmp eax, ecx
jne 0x49e522
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d7928
jmp 0x49e474
mov ecx, 0x58e
cmp eax, ecx
jne 0x49e548
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d770f
jmp 0x49e474
mov ecx, 0x56d
cmp eax, ecx
jne 0x49e56e
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004be078
jmp 0x49e474
cmp eax, 0x56e
jne 0x49e589
mov ecx, edx
call fcn.004e737e
mov eax, dword [ebp + 0x18]
xor esi, esi
inc esi
mov dword [eax], esi
jmp 0x49e483
cmp eax, 0x565
jne 0x49e5a5
push edx
push 0
push 0x45601a
call fcn.006423a8
add esp, 0xc
jmp 0x49e697
mov ecx, 0x58a
cmp eax, ecx
jne 0x49e5cb
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d36bb
jmp 0x49e474
mov ecx, 0x58b
cmp eax, ecx
jne 0x49e5f1
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004d3693
jmp 0x49e474
mov ecx, 0x577
cmp eax, ecx
jne 0x49e617
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004be94a
jmp 0x49e474
cmp eax, 0x581
jne 0x49e63d
xor edi, edi
lea ecx, [edx + 0x12c]
push edi
test edx, edx
mov eax, 0x3ec
push edi
push edi
cmove ecx, eax
call fcn.004d7afb
jmp 0x49e57c
mov ecx, 0x58c
cmp eax, ecx
jne 0x49e663
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004c60bf
jmp 0x49e474
mov ecx, 0x596
cmp eax, ecx
jne 0x49e689
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push dword [ebp + 0x14]
inc esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push ecx
mov ecx, edx
call fcn.004c41b1
jmp 0x49e474
cmp eax, 0x59c
jne 0x49e6a0
mov ecx, edx
call fcn.0048558c
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14