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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x78]
mov bl, byte [esp + 0x8c]
movzx ebp, word [esp + 0x88]
mov edi, dword [esp + 0x84]
lea edx, [esp + 0x7c]
test byte [edi + 0x15], 0x40
jne 0x403e13
movzx eax, bl
movsd xmm0, qword [edx]
movsd qword [esp + 0x44], xmm0
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x14], eax
movzx eax, bp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp], esi
call dword [edx + 0x24]
sub esp, 0x18
jmp 0x403ff4
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x2c]
mov dword [esi + 4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp], esi
call fcn.004045fe
mov edi, eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x403e53
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x403e53
mov edx, dword [eax]
mov dword [esp], 1
mov ecx, eax
call dword [edx]
sub esp, 4
test bl, bl
je 0x403e67
mov eax, dword [edi]
lea esi, [esp + 0x4c]
mov dword [esp], esi
mov ecx, edi
call dword [eax + 0x1c]
jmp 0x403e75
mov eax, dword [edi]
lea esi, [esp + 0x4c]
mov dword [esp], esi
mov ecx, edi
call dword [eax + 0x18]
sub esp, 4
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x3c], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x2c], xmm0
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov ebx, dword [esp + 0x3c]
xor edx, edx
mov esi, eax
mov dword [esp + 0x20], ebx
sub esi, ebx
cmovb esi, edx
cmp eax, 1
sbb ecx, 0
cmovl esi, edx
mov ecx, 0x1c0
and ecx, dword [edi + 0x14]
lea edi, [esp + 0x7c]
mov edx, dword [edi]
mov edi, dword [edi + 4]
cmp ecx, 0x40
mov dword [esp + 0x18], edx
mov ebx, edx
je 0x403f13
test esi, esi
je 0x403efe
mov ecx, dword [esp + 0x20]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
sub esi, eax
movzx ebp, bp
test edi, edi
je 0x403ef9
mov dword [esp], ebp
mov ecx, edi
call fcn.00403472
sub esp, 4
cmp ax, 0xffff
jne 0x403efb
mov bl, 1
inc esi
jne 0x403ee2
movzx eax, bl
mov ecx, dword [esp + 0x18]
and ecx, 0xffffff00
or ecx, eax
mov dword [esp + 0x18], ecx
xor esi, esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x403f62
cmp eax, 8
mov eax, dword [esp + 0x1c]
cmovae eax, ecx
mov dword [esp + 0x1c], eax
xor ebp, ebp
test edi, edi
je 0x403f59
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + ebp*2]
mov dword [esp], eax
mov ecx, edi
call fcn.00403472
sub esp, 4
cmp ax, 0xffff
jne 0x403f5b
mov bl, 1
inc ebp
cmp dword [esp + 0x20], ebp
jne 0x403f3a
and dword [esp + 0x18], 0xffffff00
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
test esi, esi
je 0x403fa1
movzx ebp, word [esp + 0x88]
test edi, edi
je 0x403f9c
mov dword [esp], ebp
mov ecx, edi
call fcn.00403472
sub esp, 4
cmp ax, 0xffff
jne 0x403f9e
mov bl, 1
dec esi
jne 0x403f85
movzx eax, bl
mov ecx, dword [esp + 0x18]
or ecx, eax
mov esi, dword [esp + 0x78]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov edx, dword [esp + 0x28]
cmp edx, 8
jb 0x403ff4
lea ecx, [edx + edx]
add ecx, 2
cmp ecx, 0x1000
jb 0x403fe4
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x404000
add edx, edx
add edx, 0x25
mov ecx, edx
jmp 0x403fe8
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00405899
mov eax, esi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
call fcn.0040db24
int3