Function at 0x430a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x512000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x4c819c]
xor eax, eax
push ebx
mov ebx, ecx
mov ecx, dword [0x53e8cc]
mov dword [ebp - 0x1c], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0xe0], 0x100000
cmp ecx, 0x100000
jb 0x430ad1
mov eax, dword [0x53e8d0]
push 4
push 0x1000
sub eax, ecx
push 0x100000
add eax, 0xc15888
push eax
call edx
mov ecx, dword [0x53e8cc]
mov edx, dword [0x4c819c]
test eax, eax
je 0x430ad1
sub ecx, 0x110000
mov dword [0x53e8cc], ecx
mov dword [ebx + 0xdc], eax
test eax, eax
jne 0x430af4
pop edi
mov dword [ebx + 0x4c], 0x22
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [edi + 8]
xor eax, eax
mov dword [ebx + 0xc8], esi
cmp esi, ecx
ja 0x430b31
mov eax, dword [0x53e8d0]
push 4
push 0x1000
sub eax, ecx
push esi
add eax, 0xc15888
push eax
call edx
test eax, eax
je 0x430b31
lea ecx, [esi + 0x10000]
and ecx, 0xffff0000
sub dword [0x53e8cc], ecx
mov dword [ebx + 0xc0], eax
test eax, eax
jne 0x430b55
pop esi
pop edi
mov dword [ebx + 0x4c], 0x22
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
push 0x53da70
push 0x310
call fcn.004abfa1
mov esi, eax
add esp, 8
test esi, esi
je 0x430b7c
mov ecx, esi
call fcn.0042f4c0
mov dword [esi], vtable.COggDecodeUser.0
jmp 0x430b7e
xor esi, esi
mov dword [ebx + 0xec], esi
test esi, esi
jne 0x430ba4
pop esi
pop edi
mov dword [ebx + 0x4c], 0x26
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
push dword [ebx + 0xc8]
mov eax, dword [esi]
mov ecx, esi
push dword [ebx + 0xc0]
push dword [ebx + 0xe0]
mov eax, dword [eax + 4]
push dword [ebx + 0xdc]
push edi
call eax
test al, al
jne 0x430be6
pop esi
pop edi
mov dword [ebx + 0x4c], 0x27
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
mov ax, word [edi + 2]
mov ebx, 1
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov si, word [edi + 0xc]
mov di, word [edi + 0xe]
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], bx
or eax, 0x80c8
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebx]
mov ecx, ebx
push eax
mov word [ebp - 0xc], si
mov word [ebp - 0xa], di
call dword [edx + 0x4c]
test eax, eax
jne 0x430c50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 1
push 0
call dword [0x4c8194]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 8]
push eax
push 0
push ebx
push 0x42f1d0
push 0
push 0
call fcn.004ac8d3
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
jne 0x430ca3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
pop esi
pop edi
mov dword [ebx + 0x4c], 0x24
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8
push 1
push eax
call dword [0x4c8190]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004abee8
mov esp, ebp
pop ebp
ret 8