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

Disassembly:
sub esp, 0x2d4
push ebx
mov ebx, dword [esp + 0x2dc]
push ebp
push esi
mov eax, dword [ebx + 4]
mov dl, byte [ebx + 0xca]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x28]
and edx, 0xff
push edi
mov edi, edx
mov ecx, dword [ebx + 0x34]
cdq
and edx, 7
mov dword [esp + 0x64], ecx
add eax, edx
xor ecx, ecx
mov ebp, eax
mov eax, dword [ebx + 0x2c]
cdq
and edx, 7
mov cl, byte [ebx + 0xcb]
add eax, edx
sar eax, 3
mov dword [esp + 0x20], eax
lea eax, [edi + edi*4]
shl eax, 3
cdq
and edx, 0xff
lea edi, [edi + edi*2]
add eax, edx
mov esi, eax
lea eax, [edi + edi*4]
add eax, eax
mov edi, dword [ebx + 0xd0]
cdq
and edx, 0xff
add eax, edx
mov edx, 0
sar eax, 8
mov dword [esp + 0x2c], eax
mov eax, edi
sar ebp, 3
sar esi, 8
and eax, 0x10
mov dword [esp + 0x34], esi
sete dl
and edi, 0x20
lea edx, [edx + edx - 1]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov edx, 0
sete dl
xor edi, edi
lea edx, [edx + edx - 1]
mov dword [esp + 0x10], edi
test eax, eax
mov dword [esp + 0x14], edx
je 0x435764
mov edi, 7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x435774
mov dword [esp + 0x10], 7
mov eax, ecx
and eax, 0x800000ff
jns 0x435784
dec eax
or eax, 0xffffff00
inc eax
movsx eax, word [eax*2 + 0x4bc400]
imul eax, esi
cdq
and edx, 0xfff
add eax, edx
lea edx, [ecx + 0x40]
sar eax, 0xc
and edx, 0x800000ff
mov dword [esp + 0x3c], eax
jns 0x4357b2
dec edx
or edx, 0xffffff00
inc edx
movsx eax, word [edx*2 + 0x4bc400]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xfff
mov dword [esp + 0x18], 8
add eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 0xc
mov dword [esp + 0x30], eax
mov eax, edi
imul eax, ebp
mov dword [esp + 0x40], eax
mov eax, edx
imul eax, ebp
shl edx, 5
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
imul eax, edx
shl edi, 5
add edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x10]
imul edi, edx
shl eax, 5
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
add eax, 3
mov dword [esp + 0x24], edi
shl eax, 5
add eax, ecx
mov dword [esp + 0x10], eax
jmp 0x435840
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
and eax, 0x800000ff
jns 0x435851
dec eax
or eax, 0xffffff00
inc eax
movsx eax, word [eax*2 + 0x4bc400]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x30]
sar ecx, 0xc
sub ecx, eax
and edx, 0x800000ff
mov dword [esp + 0x4c], ecx
jns 0x43588a
dec edx
or edx, 0xffffff00
inc edx
movsx eax, word [edx*2 + 0x4bc400]
imul eax, dword [esp + 0x2c]
cdq
and edx, 0xfff
mov dword [esp + 0x1c], 8
add eax, edx
mov edx, dword [esp + 0x30]
sar eax, 0xc
sub eax, edx
mov edx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
jmp 0x4358d7
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
and ecx, 0x800000ff
jns 0x4358eb
dec ecx
or ecx, 0xffffff00
inc ecx
movsx eax, word [ecx*2 + 0x4bc400]
imul eax, esi
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x3c]
sar ecx, 0xc
add edx, 0x20
sub ecx, eax
and edx, 0x800000ff
jns 0x435921
dec edx
or edx, 0xffffff00
inc edx
movsx eax, word [edx*2 + 0x4bc400]
imul eax, esi
cdq
and edx, 0xfff
mov esi, dword [esp + 0x3c]
add eax, edx
mov edx, dword [ebx + 0xd0]
push edx
mov edx, dword [ebx + 0xc4]
push 0
push 0x40000b
push edx
mov edx, dword [ebx + 0xc0]
push edx
mov edx, dword [ebx + 0x98]
push edx
mov edx, dword [ebx + 0x94]
push edx
mov edx, dword [ebx + 0x90]
sar eax, 0xc
push edx
mov edx, dword [esp + 0x58]
push 0
sub eax, esi
push 0
push 0
mov esi, dword [esp + 0x78]
sub eax, ecx
push 0
push 0
add eax, ebp
push 0
push edx
mov dword [esp + 0x9c], eax
push eax
mov eax, dword [ebx + 0x3c]
add eax, edi
mov edx, dword [esp + 0xa4]
add eax, esi
mov esi, dword [ebx + 0x38]
push eax
mov eax, dword [esp + 0x58]
add ecx, eax
add ecx, esi
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [ebx + 0xc]
push 2
push ecx
mov ecx, dword [ebx + 8]
add edx, edi
push ebp
push edx
mov edx, dword [esp + 0xb0]
add ecx, eax
push ecx
push edx
lea eax, [esp + 0x274]
push 2
push eax
call fcn.004145c0
mov ecx, 0x35
mov esi, eax
lea edi, [esp + 0xd4]
mov edx, dword [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x35
lea esi, [esp + 0xd4]
lea edi, [esp + 0x1a8]
mov eax, dword [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x358]
push ecx
mov ecx, dword [esp + 0x90]
push 0
push 0
push edx
push eax
push ecx
push ebp
lea edx, [esp + 0x1c4]
push edx
call fcn.0043dee0
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xa0]
add esi, eax
mov eax, dword [esp + 0xa8]
add esp, 0x8c
add edx, ecx
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
jne 0x4358cf
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x18]
add esi, edx
dec eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
jne 0x435834
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2d4
ret