Function at 0x56b9d0
Capabilities:
Create thread

Disassembly:
sub esp, 0x24
mov eax, dword [0x68a01c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [0x6193cc]
xor ebx, ebx
mov dword [0x6a5498], ebx
mov dword [0x6a549c], ebx
push esi
mov esi, dword [esp + 0x34]
cmp byte [esi + 0x1888a0], bl
mov eax, dword [esi + 0x1888d8]
mov cl, byte [eax + 0x32]
mov byte [esp + 0xf], cl
mov dword [esi + 0x142600], 0x10000
jne 0x56bd3b
cmp byte [esi + 0x1888a1], bl
jne 0x56bd3b
movzx edx, byte [eax + 0x32]
movzx ecx, byte [eax + 0x5b]
push edi
push edx
movzx edx, byte [eax + 0x59]
push ebx
push ecx
push edx
push eax
call fcn.005680c0
mov eax, dword [esi + 0x1888d8]
push 0x42
lea ecx, [eax + 0x13012]
push ecx
push eax
call fcn.00566ba0
mov al, byte [esp + 0x33]
add esp, 0x20
cmp al, 9
je 0x56bc38
cmp al, 8
jne 0x56baf4
mov byte [esp + 0x1b], al
push 0xc
lea eax, [esp + 0x1c]
push eax
lea edi, [esi + 0x1752a0]
push edi
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x82
mov byte [esp + 0x26], bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x4c
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x10
call fcn.005db9b0
mov ecx, dword [esi + 0x1888d8]
push 0xc
push edi
push 0x11
push ecx
call fcn.00567d50
add esp, 0x1c
push 0x1388
call ebp
mov eax, dword [esi + 0x1888d8]
push 0x2a
lea edx, [eax + 0x13054]
push edx
push eax
call fcn.00566ba0
mov eax, dword [esi + 0x1888d8]
add esp, 0xc
cmp byte [eax + 0x40], 4
je 0x56bac5
mov al, byte [esp + 0x13]
cmp al, 0xa
pop edi
je 0x56bb01
cmp al, 0xd
jne 0x56bbcb
mov eax, dword [esi + 0x1888d8]
push 0x42
lea ecx, [eax + 0x13012]
push ecx
push eax
call fcn.00566ba0
add esp, 0xc
cmp al, 1
jne 0x56bbcb
mov eax, dword [esi + 0x1888d8]
test byte [eax + 0x13014], 3
jne 0x56bbcb
push 0xc
lea edx, [esp + 0x18]
push edx
add eax, 0x384
push eax
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x82
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 8
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x23
mov byte [esp + 0x26], 5
mov byte [esp + 0x27], 0x40
mov byte [esp + 0x28], 0x98
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
call fcn.005db9b0
mov eax, dword [esi + 0x1888d8]
push 0xc
lea ecx, [eax + 0x384]
push ecx
push 0x11
push eax
call fcn.00567d50
add esp, 0x1c
cmp al, 1
jne 0x56bcef
mov edi, edi
push 0x1388
call ebp
mov eax, dword [esi + 0x1888d8]
push 0x2a
lea edx, [eax + 0x13054]
push edx
push eax
call fcn.00566ba0
mov eax, dword [esi + 0x1888d8]
add esp, 0xc
cmp byte [eax + 0x40], 4
je 0x56bba0
mov eax, dword [esi + 0x1888d8]
mov cl, byte [eax + 0x32]
cmp cl, 0xa
je 0x56bd2c
cmp cl, 6
je 0x56bd2c
cmp cl, 0xd
je 0x56bd2c
push eax
call fcn.005683e0
mov ecx, dword [esi + 0x1888d8]
push eax
push ecx
call fcn.00566890
add esp, 0xc
cmp al, 1
jne 0x56bd03
mov eax, dword [esi + 0x1888d8]
mov cl, byte [eax + 0x32]
mov eax, dword [eax + 0x12fbe]
cmp eax, 0x3e8
mov dword [esi + 0x142578], eax
jne 0x56bd3b
mov dword [esi + 0x142578], ebx
jmp 0x56bd3b
push 0xc
lea edx, [esp + 0x28]
push edx
lea edi, [esi + 0x1752a0]
push edi
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0xa2
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 8
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 3
mov byte [esp + 0x37], 0xe8
mov byte [esp + 0x38], 0x54
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x10
call fcn.005db9b0
mov eax, dword [esi + 0x1888d8]
push 0xc
push edi
push 0x11
push eax
call fcn.00567d50
add esp, 0x1c
test al, al
jne 0x56bac5
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push edi
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x82
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], 8
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x54
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x10
call fcn.005db9b0
mov edx, dword [esi + 0x1888d8]
push 0xc
push edi
push 0x11
push edx
jmp 0x56babd
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005d95f4
add esp, 0x24
ret
mov edx, dword [esi + 0x1888d8]
push 1
push edx
call fcn.00566890
add esp, 8
cmp al, 1
jne 0x56bd3b
mov eax, dword [esi + 0x1888d8]
mov ecx, dword [eax + 0x12fba]
mov dword [esi + 0x142578], ecx
jmp 0x56bd3b
push eax
call fcn.00564c00
add esp, 4
mov dword [esi + 0x142578], eax
cmp byte [esi + 0x1425d5], bl
je 0x56bd65
cmp byte [esi + 0x1888a0], bl
jne 0x56bd5f
mov edx, dword [esi + 0x1888d8]
mov eax, dword [edx + 0x12fba]
mov dword [esi + 0x198ea4], eax
jmp 0x56bd65
mov dword [esi + 0x198ea4], ebx
cmp byte [esi + 0x1888a1], bl
jne 0x56bd7e
push esi
call fcn.0056a960
add esp, 4
test al, al
je 0x56bcef
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push esi
mov dword [esi + 0x1888c4], ecx
mov byte [esi], bl
mov dword [esi + 0x1888c0], edx
call fcn.0056ecc0
push esi
call fcn.0056da60
add esp, 8
test al, al
jne 0x56bdc3
cmp byte [esi], bl
jne 0x56bcef
push 0x1f4
call ebp
push esi
call fcn.0056da60
add esp, 4
test al, al
je 0x56bda7
lea eax, [esp + 0x10]
push eax
push 4
push esi
push 0x56add0
push 0x1f400
push ebx
call fcn.005deb45
add esp, 0x18
mov esi, eax
push 2
push esi
call dword [fcn.006191e4]
push esi
call dword [fcn.006191e0]
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.005d95f4
add esp, 0x24
ret