Function at 0x438f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c62c8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fbbfc]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0xac]
xor ebp, ebp
push ebp
call edx
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x40]
push edx
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x94]
push 0xfab
mov ecx, edi
call eax
cmp dword [0x514f58], 1
movzx ecx, al
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebp
jne 0x438fbb
call dword [0x4c91ac]
mov ebx, dword [0x4c936c]
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x438fc9
mov ebx, dword [0x4c936c]
call ebx
mov dword [esp + 0x28], eax
mov esi, eax
cmp dword [0x514f58], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], ebp
jne 0x438fee
call dword [0x4c91ac]
jmp 0x438ff0
call ebx
push eax
call fcn.004af2b2
add esp, 4
cmp dword [edi + 0x84], ebp
jle 0x4393c4
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
mov ecx, edi
call eax
test eax, eax
je 0x43940c
mov esi, 1
cmp dword [0x514f58], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
jne 0x43903b
call dword [0x4c91ac]
jmp 0x43903d
call ebx
sub eax, dword [esp + 0x20]
cmp eax, 0x14
jbe 0x43907d
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x20], eax
cmp eax, ebp
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x20]
jg 0x439061
lea eax, [esp + 0x18]
cmp dword [0x514f58], esi
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jne 0x439077
call dword [0x4c91ac]
jmp 0x439079
call ebx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], 0xc8
jbe 0x4391b1
lea esi, [esp + 0x70]
call fcn.0042a420
mov dword [esp + 0x70], vtable.CFuncVoice.0
push ebp
mov ecx, esi
mov dword [esp + 0x94], ebp
call dword [0x4d971c]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
jne 0x43910e
call fcn.004af2bf
and eax, 0x8000000f
jns 0x4390ca
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, dword [eax*4 + 0x4dc030]
mov eax, ebx
call fcn.00490440
test eax, eax
je 0x43910e
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x68]
push ebp
lea ecx, [esp + 0x74]
call eax
mov edx, dword [esp + 0x70]
mov esi, eax
mov eax, dword [edx + 0x64]
push ebp
lea ecx, [esp + 0x74]
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push ebx
mov ecx, esi
call eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov esi, dword [ebx]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [eax + eax + 0x4dbfe0]
mov edx, dword [eax + eax + 0x4dbfdc]
add eax, eax
mov eax, dword [eax + 0x4dbfd8]
push 1
push ecx
push edx
mov edx, dword [edi]
mov edx, dword [edx + 0xac]
push eax
mov ecx, edi
add esi, 0x44
call edx
push eax
mov eax, dword [esi]
push 0x1e0
push 0x280
push ebp
push ebp
mov ecx, ebx
call eax
mov ebx, dword [0x4c9290]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x54]
push edx
mov eax, edx
push eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], 0x280
mov dword [esp + 0x78], 0x1e0
call ebx
mov eax, dword [esp + 0x1c]
add eax, 1
xor edx, edx
mov ecx, 7
div ecx
add dword [esp + 0x18], 0x64
mov dword [esp + 0x14], ebp
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x1c], edx
jmp 0x4391b7
mov ebx, dword [0x4c9290]
mov esi, 1
cmp dword [0x514f58], esi
jne 0x4391cc
call dword [0x4c91ac]
jmp 0x4391d2
call dword [0x4c936c]
sub eax, dword [esp + 0x24]
cmp eax, 0x85
jbe 0x43923e
mov ecx, dword [edi + 0x9c]
push esi
mov edx, esi
sub edx, dword [esp + 0x30]
push ebp
mov eax, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
mov dword [esp + 0x34], eax
shl eax, 5
push eax
mov eax, dword [edi + 0x94]
push eax
push 0x20
push 0x20
push ebp
push ebp
call edx
mov ecx, dword [edi + 0x9c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf8]
call edx
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, eax
push ecx
call ebx
cmp dword [0x514f58], esi
jne 0x439234
call dword [0x4c91ac]
jmp 0x43923a
call dword [0x4c936c]
mov dword [esp + 0x24], eax
mov eax, 0x51eb851f
imul dword [esp + 0x18]
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, esi
add esi, esi
cmp esi, dword [esp + 0x30]
je 0x4392b6
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 1
push ebp
push ebp
push eax
push 0x18
push 0x1b0
push ebp
push ebp
mov dword [esp + 0x50], esi
call edx
mov ecx, dword [edi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x74]
push 1
push 0xffff0000
push 8
push esi
push 8
push 0x10
call edx
mov ecx, dword [edi + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf8]
call edx
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, eax
push ecx
call ebx
lea edx, [esp + 0x50]
push edx
call dword [0x4c9298]
test eax, eax
jne 0x439334
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
sub ebx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [0x514e34]
sub esi, eax
test ecx, ecx
mov ebp, eax
jne 0x439323
push 0x18
call fcn.004ae2dd
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x439315
mov edx, 1
mov dword [eax], vtable.CDrawManager2D.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0x14], ecx
jmp 0x439317
xor eax, eax
mov ecx, eax
test ecx, ecx
mov dword [0x514e34], ecx
je 0x439332
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
push esi
push ebx
push ebp
push edx
call eax
xor ebp, ebp
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x48]
push eax
call edx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
sub eax, esi
mov ebx, 0x32
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
jg 0x439366
lea eax, [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x3c]
jg 0x43938f
lea eax, [esp + 0x38]
mov eax, dword [eax]
cdq
xor eax, edx
sub eax, edx
add dword [esp + 0x14], eax
push 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
call dword [0x4c91b8]
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x84]
mov ebx, dword [0x4c936c]
jl 0x439005
mov esi, dword [esp + 0x28]
cmp dword [0x514f58], 1
jne 0x4393d5
call dword [0x4c91ac]
jmp 0x4393d7
call ebx
sub eax, esi
cmp eax, dword [edi + 0x8c]
ja 0x4393ec
mov eax, dword [edi + 0x88]
mov dword [edi + 0x10], eax
jmp 0x4393f3
mov dword [edi + 0x10], 0xa
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], ebp
mov edx, dword [edi]
mov edx, dword [edx + 0x98]
push eax
push 0xfab
mov ecx, edi
call edx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret